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
247
247
248
248
In your integration tests, you often need to fetch the service from the
249
249
service 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() ``::
251
251
252
252
// tests/Service/NewsletterGeneratorTest.php
253
253
namespace App\Tests\Service;
@@ -273,7 +273,7 @@ the container is stored in ``static::getContainer()``::
273
273
}
274
274
}
275
275
276
- The container in ``static::getContainer() `` is actually a special test container.
276
+ The container from ``static::getContainer() `` is actually a special test container.
277
277
It gives you access to both the public services and the non-removed
278
278
:ref: `private services <container-public >`.
279
279
You can’t perform that action at this time.
0 commit comments