@@ -25,7 +25,7 @@ the ``services.yaml`` file configures the services of the
2525:doc: `service container </service_container >`; the ``bundles.php `` file enables/
2626disables packages in your application.
2727
28- You'll be working most in the ``config/packages/ `` directory. This directory
28+ You'll be working mostly in the ``config/packages/ `` directory. This directory
2929stores the configuration of every package installed in your application.
3030Packages (also called "bundles" in Symfony and "plugins/modules" in other
3131projects) add ready-to-use features to your projects.
@@ -55,7 +55,7 @@ to change these files after package installation
5555Configuration Formats
5656~~~~~~~~~~~~~~~~~~~~~
5757
58- Unlike other frameworks, Symfony doesn't impose you a specific format to
58+ Unlike other frameworks, Symfony doesn't impose a specific format on you to
5959configure your applications. Symfony lets you choose between YAML, XML and PHP
6060and throughout the Symfony documentation, all configuration examples will be
6161shown in these three formats.
@@ -70,8 +70,8 @@ readable. These are the main advantages and disadvantages of each format:
7070* **YAML **: simple, clean and readable, but not all IDEs support autocompletion
7171 and validation for it. :doc: `Learn the YAML syntax </components/yaml/yaml_format >`;
7272* **XML **:autocompleted/validated by most IDEs and is parsed natively by PHP,
73- but sometimes it generates too verbose configuration . `Learn the XML syntax `_;
74- * **PHP **: very powerful and it allows to create dynamic configuration, but the
73+ but sometimes it generates configuration considered too verbose. `Learn the XML syntax `_;
74+ * **PHP **: very powerful and it allows you to create dynamic configuration, but the
7575 resulting configuration is less readable than the other formats.
7676
7777Importing Configuration Files
@@ -368,7 +368,7 @@ Take the ``framework`` package, installed by default, as an example:
368368 ``config/packages/framework.yaml ``.
369369
370370In reality, each environment differs only somewhat from others. This means that
371- all environments share a large base of common configurations , which is put in
371+ all environments share a large base of common configuration , which is put in
372372files directly in the ``config/packages/ `` directory.
373373
374374.. seealso ::
@@ -425,7 +425,7 @@ going to production:
425425
426426.. tip ::
427427
428- It's common for environments to be similar between each other, so you can
428+ It's common for environments to be similar to each other, so you can
429429 use `symbolic links `_ between ``config/packages/<environment-name>/ ``
430430 directories to reuse the same configuration.
431431
@@ -728,10 +728,10 @@ doesn't work for parameters:
728728 $container->getDefinition(MessageGenerator::class)
729729 ->setArgument('$contentsDir', '%app.contents_dir%');
730730
731- If you inject the same parameters over and over again, use instead the
732- ``services._defaults.bind `` option. The arguments defined in that option are
731+ If you inject the same parameters over and over again, use the
732+ ``services._defaults.bind `` option instead . The arguments defined in that option are
733733injected automatically whenever a service constructor or controller action
734- define an argument with that exact name. For example, to inject the value of the
734+ defines an argument with that exact name. For example, to inject the value of the
735735:ref: `kernel.project_dir parameter <configuration-kernel-project-directory >`
736736whenever a service/controller defines a ``$projectDir `` argument, use this:
737737
@@ -790,7 +790,7 @@ whenever a service/controller defines a ``$projectDir`` argument, use this:
790790 Read the article about :ref: `binding arguments by name and/or type <services-binding >`
791791 to learn more about this powerful feature.
792792
793- Finally, if some service needs to access to lots of parameters, instead of
793+ Finally, if some service needs access to lots of parameters, instead of
794794injecting each of them individually, you can inject all the application
795795parameters at once by type-hinting any of its constructor arguments with the
796796:class: `Symfony\\ Component\\ DependencyInjection\\ ParameterBag\\ ContainerBagInterface `::
@@ -822,7 +822,7 @@ parameters at once by type-hinting any of its constructor arguments with the
822822Keep Going!
823823-----------
824824
825- Congratulations! You've tackled the basics in Symfony. Next, learn about *each *
825+ Congratulations! You've tackled the basics of Symfony. Next, learn about *each *
826826part of Symfony individually by following the guides. Check out:
827827
828828* :doc: `/forms `
0 commit comments