1 | <?php |
||
11 | abstract class AbstractTemplatableCommand extends Command |
||
12 | { |
||
13 | const OPTION_TEMPLATE = 'template'; |
||
14 | |||
15 | /** @var ConfigurationFileLoaderInterface */ |
||
16 | private $configurationFileLoader; |
||
17 | |||
18 | /** |
||
19 | * @param ConfigurationFileLoaderInterface $configurationFileLoader |
||
20 | */ |
||
21 | public function __construct(ConfigurationFileLoaderInterface $configurationFileLoader) |
||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | protected function configure() |
||
40 | |||
41 | /** |
||
42 | * @return ConfigurationFileLoaderInterface |
||
43 | */ |
||
44 | public function getConfigurationFileLoader() |
||
48 | |||
49 | /** |
||
50 | * @param InputInterface $input |
||
51 | * |
||
52 | * @return ConfigurationFile[] |
||
53 | */ |
||
54 | protected function loadTemplateConfigurationFileList(InputInterface $input) |
||
74 | } |
||
75 |