1 | <?php |
||
14 | class CommandTemplateHelper extends TemplateHelper |
||
15 | { |
||
16 | /** @var InputInterface */ |
||
17 | private $input; |
||
18 | /** @var OutputInterface */ |
||
19 | private $output; |
||
20 | /** @var Filesystem */ |
||
21 | private $fileSystem; |
||
22 | /** @var bool */ |
||
23 | private $skipExisting; |
||
24 | /** @var bool */ |
||
25 | private $forceOverride; |
||
26 | /** @var QuestionHelper */ |
||
27 | private $questionHelper; |
||
28 | |||
29 | /** |
||
30 | * @param QuestionHelper $questionHelper |
||
31 | * @param InputInterface $input |
||
32 | * @param OutputInterface $output |
||
33 | * @param array $variableList |
||
34 | * @param bool $skipExisting |
||
35 | * @param bool $forceOverride |
||
36 | * @param array $extraTemplatePath |
||
37 | */ |
||
38 | public function __construct( |
||
57 | |||
58 | /** |
||
59 | * @param string $templateFilePath |
||
60 | * @param string $outputFilePath |
||
61 | */ |
||
62 | public function dumpTemplate($templateFilePath, $outputFilePath) |
||
73 | |||
74 | /** |
||
75 | * @param $outputFilePath |
||
76 | * @return array |
||
77 | */ |
||
78 | protected function validateDump($outputFilePath) |
||
102 | |||
103 | /**@return bool |
||
104 | */ |
||
105 | protected function doOverwrite() |
||
114 | } |
||
115 |