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 52d43c3 commit e156315Copy full SHA for e156315
src/Codeception/Module/Symfony.php
@@ -556,8 +556,9 @@ public function dontSeeEmailIsSent()
556
}
557
558
/**
559
- * Grabs a service from Symfony DIC container.
560
- * 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
561
+ * Services that aren't injected somewhere into your app, need to be defined as `public` to be accessible by Codeception.
562
*
563
* ``` php
564
* <?php
0 commit comments