1 | <?php |
||
14 | class HandleExistingFile |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @param string $originalTest |
||
19 | * @param string $newTest |
||
20 | * @throws Exception |
||
21 | * @return string |
||
22 | */ |
||
23 | private function replaceHeaderOnly($originalTest, $newTest) |
||
33 | |||
34 | /** |
||
35 | * @param InputInterface $input |
||
36 | * @param OutputInterface $output |
||
37 | * @param QuestionHelper $helper |
||
38 | * @param string $serviceId |
||
39 | * @param string $testFileName |
||
40 | * @param string $template |
||
41 | * @return string |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | public function handleExistingFile( |
||
75 | |||
76 | /** |
||
77 | * @param OutputInterface $output |
||
78 | * @param $template |
||
79 | * @param $answerId |
||
80 | * @param $originalTest |
||
81 | * @return bool|string |
||
82 | * @throws Exception |
||
83 | */ |
||
84 | private function handleQuestion(OutputInterface $output, string $template, string $answerId, $originalTest) |
||
99 | } |
||
100 |