Skip to content

Commit 6f7b49e

Browse files
authored
Updated reference for Symfony 4 (#4674)
1 parent a0bbb7c commit 6f7b49e

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,27 @@
1919
*
2020
* <https://github.com/Codeception/symfony-demo>
2121
*
22-
* ## Status
23-
*
24-
* * Maintainer: **raistlin**
25-
* * Stability: **stable**
26-
*
2722
* ## Config
2823
*
29-
* ### Symfony 2.x
24+
* ### Symfony 4.x
3025
*
31-
* * app_path: 'app' - specify custom path to your app dir, where bootstrap cache and kernel interface is located.
26+
* * app_path: 'src' - in Symfony 4 Kernel is located inside `src`
3227
* * environment: 'local' - environment used for load kernel
33-
* * debug: true - turn on/off debug mode
3428
* * em_service: 'doctrine.orm.entity_manager' - use the stated EntityManager to pair with Doctrine Module.
29+
* * debug: true - turn on/off debug mode
3530
* * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire)
3631
* * rebootable_client: 'true' - reboot client's kernel before each request
3732
*
38-
* ### Example (`functional.suite.yml`) - Symfony 2.x Directory Structure
33+
* #### Example (`functional.suite.yml`) - Symfony 4 Directory Structure
3934
*
40-
* ```
41-
* modules:
42-
* - Symfony:
43-
* app_path: 'app/front'
44-
* environment: 'local_test'
45-
* ```
35+
* modules:
36+
* enabled:
37+
* - Symfony:
38+
* app_path: 'src'
39+
* environment: 'test'
4640
*
47-
* ### Symfony 3.x Directory Structure
41+
*
42+
* ### Symfony 3.x
4843
*
4944
* * app_path: 'app' - specify custom path to your app dir, where the kernel interface is located.
5045
* * var_path: 'var' - specify custom path to your var dir, where bootstrap cache is located.
@@ -54,7 +49,7 @@
5449
* * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire)
5550
* * rebootable_client: 'true' - reboot client's kernel before each request
5651
*
57-
* ### Example (`functional.suite.yml`) - Symfony 3 Directory Structure
52+
* #### Example (`functional.suite.yml`) - Symfony 3 Directory Structure
5853
*
5954
* modules:
6055
* enabled:
@@ -64,6 +59,24 @@
6459
* environment: 'local_test'
6560
*
6661
*
62+
* ### Symfony 2.x
63+
*
64+
* * app_path: 'app' - specify custom path to your app dir, where bootstrap cache and kernel interface is located.
65+
* * environment: 'local' - environment used for load kernel
66+
* * debug: true - turn on/off debug mode
67+
* * em_service: 'doctrine.orm.entity_manager' - use the stated EntityManager to pair with Doctrine Module.
68+
* * cache_router: 'false' - enable router caching between tests in order to [increase performance](http://lakion.com/blog/how-did-we-speed-up-sylius-behat-suite-with-blackfire)
69+
* * rebootable_client: 'true' - reboot client's kernel before each request
70+
*
71+
* ### Example (`functional.suite.yml`) - Symfony 2.x Directory Structure
72+
*
73+
* ```
74+
* modules:
75+
* - Symfony:
76+
* app_path: 'app/front'
77+
* environment: 'local_test'
78+
* ```
79+
*
6780
* ## Public Properties
6881
*
6982
* * kernel - HttpKernel instance

0 commit comments

Comments
 (0)