Skip to content

Improved documentation of the 'Parts' feature #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/Codeception/Module/Symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@
*
* ## Parts
*
* * services - allows to use Symfony DIC only with WebDriver or PhpBrowser modules.
* * `services`: Symfony dependency injection container (DIC)
*
* See [WebDriver module](https://codeception.com/docs/modules/WebDriver#Loading-Parts-from-other-Modules)
* for general information on how to load parts of a framework module.
*
* Usage example:
*
Expand All @@ -87,14 +90,17 @@
* modules:
* enabled:
* - Symfony:
* part: SERVICES
* part: services
* - Doctrine2:
* depends: Symfony
* - WebDriver:
* url: http://your-url.com
* browser: phantomjs
* browser: firefox
* ```
*
* 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)
* in addition to Symfony module.
*
*/
class Symfony extends Framework implements DoctrineProvider, PartedModule
{
Expand Down