Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | public function execute(): bool |
||
53 | { |
||
54 | $options = $this->getOptions(['web-dir' => 'web']); |
||
55 | $process = null; |
||
56 | foreach ($this->permissions as $path => $permission) { |
||
57 | $command = sprintf('chmod -f %s "%s"', $permission, $options['web-dir'].$path); |
||
58 | $process = $this->executeCommand($command); |
||
59 | } |
||
60 | |||
61 | return $process; |
||
62 | } |
||
63 | } |
||
64 |