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 $fileSystem; |
||
23 | /** @var bool */ |
||
24 | private $skipExisting; |
||
25 | /** @var bool */ |
||
26 | private $forceOverride; |
||
27 | /** @var QuestionHelper */ |
||
28 | private $questionHelper; |
||
29 | |||
30 | /** |
||
31 | * @param QuestionHelper $questionHelper |
||
32 | * @param InputInterface $input |
||
33 | * @param OutputInterface $output |
||
34 | * @param array $variableList |
||
35 | * @param bool $skipExisting |
||
36 | * @param bool $forceOverride |
||
37 | * @param array $extraTemplatePath |
||
38 | */ |
||
39 | public function __construct( |
||
58 | |||
59 | /** |
||
60 | * @param string $templateFilePath |
||
61 | * @param string $outputFilePath |
||
62 | * @param bool $overwrite overwrite even if present |
||
63 | * |
||
64 | * @throws TargetFileExistsException |
||
65 | */ |
||
66 | public function dumpTemplate($templateFilePath, $outputFilePath, $overwrite = false) |
||
92 | |||
93 | /**@return bool |
||
94 | */ |
||
95 | protected function doOverwrite() |
||
104 | } |
||
105 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.