| 1 | <?php |
||
| 9 | abstract class AbstractGenerator { |
||
| 10 | |||
| 11 | use ServiceLoaderTrait; |
||
| 12 | |||
| 13 | /** @var \Twig_Environment */ |
||
| 14 | protected $twig; |
||
| 15 | |||
| 16 | public function __construct(CommandService $service) { |
||
| 22 | |||
| 23 | protected function getTemplateFolder() { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return CommandService |
||
| 29 | */ |
||
| 30 | protected function getService() { |
||
| 33 | |||
| 34 | protected function loadClass(PhpClass $class) { |
||
| 44 | } |
||
| 45 |