@@ -245,7 +245,7 @@ the fact that a controller should always return a ``Response`` object.
245
245
Use Dependency Injection to Get Services
246
246
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247
247
248
- If you extend the base ``AbstractController ``, you can only access to the most
248
+ If you extend the base ``AbstractController ``, you can only get access to the most
249
249
common services (e.g ``twig ``, ``router ``, ``doctrine ``, etc.), directly from the
250
250
container via ``$this->container->get() ``.
251
251
Instead, you must use dependency injection to fetch services by
@@ -289,7 +289,7 @@ Define your Forms as PHP Classes
289
289
290
290
Creating :ref: `forms in classes <creating-forms-in-classes >` allows to reuse
291
291
them in different parts of the application. Besides, not creating forms in
292
- controllers simplify the code and maintenance of the controllers.
292
+ controllers simplifies the code and maintenance of the controllers.
293
293
294
294
Add Form Buttons in Templates
295
295
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -388,7 +388,7 @@ Use Webpack Encore to Process Web Assets
388
388
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389
389
390
390
Web assets are things like CSS, JavaScript and image files that make the
391
- frontend of your site looks and works great. `Webpack `_ is the leading JavaScript
391
+ frontend of your site look and work great. `Webpack `_ is the leading JavaScript
392
392
module bundler that compiles, transforms and packages assets for usage in a browser.
393
393
394
394
:doc: `Webpack Encore </frontend >` is a JavaScript library that gets rid of most
0 commit comments