| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function ensureDirectoryExistsAndIsWritable(string $directory, OutputInterface $output, string $commandName): void |
||
| 30 | { |
||
| 31 | $checker = $this->commandDirectoryChecker; |
||
| 32 | $checker->setCommandName($commandName); |
||
| 33 | |||
| 34 | $checker->ensureDirectoryExists($directory, $output); |
||
| 35 | $checker->ensureDirectoryIsWritable($directory, $output); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |