Skip to content

Commit d558d48

Browse files
authored
Improved documentation of the 'Parts' feature
Thanks to @ThomasLandauer
2 parents a51056b + b9e169e commit d558d48

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@
7878
*
7979
* ## Parts
8080
*
81-
* * services - allows to use Symfony DIC only with WebDriver or PhpBrowser modules.
81+
* * `services`: Symfony dependency injection container (DIC)
82+
*
83+
* See [WebDriver module](https://codeception.com/docs/modules/WebDriver#Loading-Parts-from-other-Modules)
84+
* for general information on how to load parts of a framework module.
8285
*
8386
* Usage example:
8487
*
@@ -87,14 +90,17 @@
8790
* modules:
8891
* enabled:
8992
* - Symfony:
90-
* part: SERVICES
93+
* part: services
9194
* - Doctrine2:
9295
* depends: Symfony
9396
* - WebDriver:
9497
* url: http://your-url.com
95-
* browser: phantomjs
98+
* browser: firefox
9699
* ```
97100
*
101+
* If you're using Symfony with Eloquent ORM (instead of Doctrine), you can load the [`ORM` part of Laravel module](https://codeception.com/docs/modules/Laravel5#Parts)
102+
* in addition to Symfony module.
103+
*
98104
*/
99105
class Symfony extends Framework implements DoctrineProvider, PartedModule
100106
{

0 commit comments

Comments
 (0)