1 | <?php |
||
15 | class CommandTemplateHelper extends TemplateHelper |
||
16 | { |
||
17 | /** @var InputInterface */ |
||
18 | private $input; |
||
19 | /** @var OutputInterface */ |
||
20 | private $output; |
||
21 | /** @var Filesystem */ |
||
22 | private $fs; |
||
|
|||
23 | /** @var bool */ |
||
24 | private $skipExisting; |
||
25 | /** @var bool */ |
||
26 | private $forceOverride; |
||
27 | |||
28 | /** |
||
29 | * @param QuestionHelper $questionHelper |
||
30 | * @param InputInterface $input |
||
31 | * @param OutputInterface $output |
||
32 | * @param array $variableList |
||
33 | * @param bool $skipExisting |
||
34 | * @param bool $forceOverride |
||
35 | * @param array $extraTemplatePath |
||
36 | */ |
||
37 | public function __construct( |
||
56 | |||
57 | /** |
||
58 | * @param string $templateFilePath |
||
59 | * @param string $outputFilePath |
||
60 | * @param bool $overwrite overwrite even if present |
||
61 | * |
||
62 | * @throws TargetFileExistsException |
||
63 | */ |
||
64 | public function dumpTemplate($templateFilePath, $outputFilePath, $overwrite = false) |
||
90 | |||
91 | /**@return bool |
||
92 | */ |
||
93 | protected function doOverwrite() |
||
102 | } |
||
103 |