| 1 | <?php |
||
| 10 | class CreateFilesStep implements SymfifyStep |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var OutputInterface |
||
| 14 | */ |
||
| 15 | private $output; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | private $files = ['src/AppKernel.php', 'web/index.php']; |
||
| 21 | |||
| 22 | 6 | public function __construct(OutputInterface $output, array $files = []) |
|
| 27 | |||
| 28 | 4 | public function __invoke() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $file |
||
| 37 | */ |
||
| 38 | 4 | private function createFile($file) |
|
| 56 | } |
||
| 57 |