Skip to content

Commit cf5c8cc

Browse files
ocrampete16javiereguiluz
authored andcommitted
Misc. wording/grammar changes
1 parent ec9e093 commit cf5c8cc

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

configuration.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the ``services.yaml`` file configures the services of the
2525
:doc:`service container </service_container>`; the ``bundles.php`` file enables/
2626
disables 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
2929
stores the configuration of every package installed in your application.
3030
Packages (also called "bundles" in Symfony and "plugins/modules" in other
3131
projects) add ready-to-use features to your projects.
@@ -55,7 +55,7 @@ to change these files after package installation
5555
Configuration 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
5959
configure your applications. Symfony lets you choose between YAML, XML and PHP
6060
and throughout the Symfony documentation, all configuration examples will be
6161
shown 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

7777
Importing Configuration Files
@@ -368,7 +368,7 @@ Take the ``framework`` package, installed by default, as an example:
368368
``config/packages/framework.yaml``.
369369

370370
In 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
372372
files 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

@@ -732,10 +732,10 @@ doesn't work for parameters:
732732
$container->getDefinition(MessageGenerator::class)
733733
->setArgument('$contentsDir', '%app.contents_dir%');
734734
735-
If you inject the same parameters over and over again, use instead the
736-
``services._defaults.bind`` option. The arguments defined in that option are
735+
If you inject the same parameters over and over again, use the
736+
``services._defaults.bind`` option instead. The arguments defined in that option are
737737
injected automatically whenever a service constructor or controller action
738-
define an argument with that exact name. For example, to inject the value of the
738+
defines an argument with that exact name. For example, to inject the value of the
739739
:ref:`kernel.project_dir parameter <configuration-kernel-project-directory>`
740740
whenever a service/controller defines a ``$projectDir`` argument, use this:
741741

@@ -794,7 +794,7 @@ whenever a service/controller defines a ``$projectDir`` argument, use this:
794794
Read the article about :ref:`binding arguments by name and/or type <services-binding>`
795795
to learn more about this powerful feature.
796796

797-
Finally, if some service needs to access to lots of parameters, instead of
797+
Finally, if some service needs access to lots of parameters, instead of
798798
injecting each of them individually, you can inject all the application
799799
parameters at once by type-hinting any of its constructor arguments with the
800800
:class:`Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface`::
@@ -826,7 +826,7 @@ parameters at once by type-hinting any of its constructor arguments with the
826826
Keep Going!
827827
-----------
828828

829-
Congratulations! You've tackled the basics in Symfony. Next, learn about *each*
829+
Congratulations! You've tackled the basics of Symfony. Next, learn about *each*
830830
part of Symfony individually by following the guides. Check out:
831831

832832
* :doc:`/forms`

0 commit comments

Comments
 (0)