Skip to content

Commit 2a0f9db

Browse files
authored
Update UnitTests.md (#884)
1 parent 987ad61 commit 2a0f9db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/UnitTests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ $em = $this->getModule('Doctrine')->em;
355355
If you use the `Symfony` module, here is how you can access the Symfony container:
356356

357357
```php
358-
/** @var Symfony\Component\DependencyInjection\Container */
359-
$container = $this->getModule('Symfony')->container;
358+
/** @var Symfony\Component\DependencyInjection\ContainerInterface */
359+
$container = $this->getModule('Symfony')->_getContainer();
360360
```
361361

362362
The same can be done for all public properties of an enabled module. Accessible properties are listed in the module reference.

0 commit comments

Comments
 (0)