Skip to content

Commit

Permalink
Merge pull request #23 from ThomasLandauer/patch-1
Browse files Browse the repository at this point in the history
Better explaining `depends`
  • Loading branch information
Naktibalda authored Dec 21, 2020
2 parents a39cd44 + 4775ba5 commit 3050938
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Codeception/Module/Doctrine2.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
* enabled:
* - Symfony # 'ZF2' or 'Symfony'
* - Doctrine2:
* depends: Symfony
* depends: Symfony # Tells Doctrine to fetch the Entity Manager through Symfony
* cleanup: true # All doctrine queries will be wrapped in a transaction, which will be rolled back at the end of each test
* ```
*
* If you don't use Symfony or Zend Framework, you need to specify a callback function to retrieve the Entity Manager:
* If you don't provide a `depends` key, you need to specify a callback function to retrieve the Entity Manager:
*
* ```yaml
* modules:
Expand Down Expand Up @@ -79,7 +79,7 @@
* modules:
* enabled:
* - Doctrine2:
* purge_mode: 1 //1 - DELETE, 2 - TRUNCATE, default DELETE
* purge_mode: 1 # 1 = DELETE, 2 = TRUNCATE, default DELETE
* ```
*
* ## Status
Expand Down

0 comments on commit 3050938

Please sign in to comment.