File tree Expand file tree Collapse file tree 6 files changed +4
-93
lines changed Expand file tree Collapse file tree 6 files changed +4
-93
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ../../4.2/config/services.yaml
Original file line number Diff line number Diff line change @@ -15,26 +15,14 @@ protected function configureContainer(ContainerConfigurator $container): void
15
15
{
16
16
$ container ->import ('../config/{packages}/*.yaml ' );
17
17
$ container ->import ('../config/{packages}/ ' .$ this ->environment .'/*.yaml ' );
18
-
19
- if (file_exists (\dirname (__DIR__ ).'/config/services.yaml ' )) {
20
- $ container ->import ('../config/{services}.yaml ' );
21
- $ container ->import ('../config/{services}_ ' .$ this ->environment .'.yaml ' );
22
- } else {
23
- $ path = \dirname (__DIR__ ).'/config/services.php ' ;
24
- (require $ path )($ container ->withPath ($ path ), $ this );
25
- }
18
+ $ container ->import ('../config/{services}.yaml ' );
19
+ $ container ->import ('../config/{services}_ ' .$ this ->environment .'.yaml ' );
26
20
}
27
21
28
22
protected function configureRoutes (RoutingConfigurator $ routes ): void
29
23
{
30
24
$ routes ->import ('../config/{routes}/ ' .$ this ->environment .'/*.yaml ' );
31
25
$ routes ->import ('../config/{routes}/*.yaml ' );
32
-
33
- if (file_exists (\dirname (__DIR__ ).'/config/routes.yaml ' )) {
34
- $ routes ->import ('../config/{routes}.yaml ' );
35
- } else {
36
- $ path = \dirname (__DIR__ ).'/config/routes.php ' ;
37
- (require $ path )($ routes ->withPath ($ path ), $ this );
38
- }
26
+ $ routes ->import ('../config/{routes}.yaml ' );
39
27
}
40
28
}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments