| 1 | <?php |
||
| 9 | abstract class AbstractTemplatableCommand extends Command |
||
| 10 | { |
||
| 11 | const OPTION_TEMPLATE = 'template'; |
||
| 12 | |||
| 13 | /** @var ConfigurationLoader */ |
||
| 14 | private $configurationLoader; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param ConfigurationLoader $configurationLoader |
||
| 18 | */ |
||
| 19 | public function __construct(ConfigurationLoader $configurationLoader) |
||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | protected function configure() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param string $templatePath |
||
| 41 | * |
||
| 42 | * @return null|Configuration |
||
| 43 | */ |
||
| 44 | protected function loadTemplateConfiguration($templatePath) |
||
| 59 | } |
||
| 60 |