diff --git a/src/Codeception/Module/Symfony.php b/src/Codeception/Module/Symfony.php index 39756533..ace61d22 100644 --- a/src/Codeception/Module/Symfony.php +++ b/src/Codeception/Module/Symfony.php @@ -554,8 +554,9 @@ public function dontSeeEmailIsSent() } /** - * Grabs a service from Symfony DIC container. - * Recommended to use for unit testing. + * Grabs a service from the Symfony dependency injection container (DIC). + * In "test" environment, Symfony uses a special `test.service_container`, see https://symfony.com/doc/current/testing.html#accessing-the-container + * Services that aren't injected somewhere into your app, need to be defined as `public` to be accessible by Codeception. * * ``` php *