1 | <?php |
||
12 | abstract class BaseFileProcessor implements FileProcessorInterface { |
||
13 | |||
14 | /** |
||
15 | * @var FileTool[] |
||
16 | */ |
||
17 | private $tools = []; |
||
18 | |||
19 | /** |
||
20 | * @var OutputInterface |
||
21 | */ |
||
22 | private $output; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * @param FileTool $tool |
||
27 | */ |
||
28 | public function addTool(FileTool $tool) { |
||
31 | |||
32 | |||
33 | /** |
||
34 | * @return FileTool[] |
||
35 | */ |
||
36 | public function getTools() { |
||
39 | |||
40 | |||
41 | /** |
||
42 | * Sets a logger. |
||
43 | * |
||
44 | * @param OutputInterface $logger |
||
45 | */ |
||
46 | public function setOutput(OutputInterface $logger) { |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @return OutputInterface |
||
53 | */ |
||
54 | public function getOutput() { |
||
61 | |||
62 | } |