We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f75a7 commit ada6c9dCopy full SHA for ada6c9d
README.md
@@ -195,7 +195,7 @@ $loader = new Psr4ClassLoader();
195
$loader->addPrefix('Ajax\\', __DIR__.'/lib/phpmv/php-mv-ui/Ajax');
196
$loader->register();
197
```
198
-####Library loading
+####Injection of the service
199
Create 2 services in the **app/config/services.yml** file :
200
* The first for the JsUtils instance
201
* The second for the controller
@@ -213,7 +213,6 @@ services:
213
class: AppBundle\Controller\DefaultController
214
arguments: ['@service_container','@jquery']
215
216
-####Injection of the service
217
It is then possible to inject the Symfony container and the JsUtils service in the controller constructor :
218
219
```php
0 commit comments