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 987ad61 commit 2a0f9dbCopy full SHA for 2a0f9db
docs/UnitTests.md
@@ -355,8 +355,8 @@ $em = $this->getModule('Doctrine')->em;
355
If you use the `Symfony` module, here is how you can access the Symfony container:
356
357
```php
358
-/** @var Symfony\Component\DependencyInjection\Container */
359
-$container = $this->getModule('Symfony')->container;
+/** @var Symfony\Component\DependencyInjection\ContainerInterface */
+$container = $this->getModule('Symfony')->_getContainer();
360
```
361
362
The same can be done for all public properties of an enabled module. Accessible properties are listed in the module reference.
0 commit comments