Conditions | 3 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function generate(string $projectDir, bool $overwriteSecurity, bool $overwriteLiipImagine) |
||
15 | { |
||
16 | $this->renderSingleFile( |
||
17 | $this->skeletonDir, |
||
18 | $projectDir . '/config/packages/', |
||
19 | 'security.yaml', |
||
20 | [], |
||
21 | true, |
||
22 | $overwriteSecurity ? 'security.yaml' : 'security.yaml.example' |
||
23 | ); |
||
24 | $this->renderSingleFile( |
||
25 | $this->skeletonDir, |
||
26 | $projectDir . '/config/packages/', |
||
27 | 'liip_imagine.yaml', |
||
28 | [], |
||
29 | true, |
||
30 | $overwriteSecurity ? 'liip_imagine.yaml' : 'liip_imagine.yaml.example' |
||
31 | ); |
||
32 | } |
||
33 | } |
||
34 |