File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ Retrieving Services in the Test
247247
248248In your integration tests, you often need to fetch the service from the
249249service container to call a specific method. After booting the kernel,
250- the container is stored in ``static::getContainer() ``::
250+ the container is returned by ``static::getContainer() ``::
251251
252252 // tests/Service/NewsletterGeneratorTest.php
253253 namespace App\Tests\Service;
@@ -273,7 +273,7 @@ the container is stored in ``static::getContainer()``::
273273 }
274274 }
275275
276- The container in ``static::getContainer() `` is actually a special test container.
276+ The container from ``static::getContainer() `` is actually a special test container.
277277It gives you access to both the public services and the non-removed
278278:ref: `private services <container-public >`.
279279
You can’t perform that action at this time.
0 commit comments