1 | <?php |
||
9 | abstract class MagentoObjectGenerator extends PromptingGenerator implements GeneratorInterface |
||
10 | { |
||
11 | /** |
||
12 | * @param ResourceInterface $resource |
||
13 | * @param string $filepath |
||
14 | * |
||
15 | * @return string |
||
16 | */ |
||
17 | protected function renderTemplate(ResourceInterface $resource, $filepath) |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | abstract protected function getParentClass(); |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | abstract protected function getTemplateName(); |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | protected function getTemplateFile() |
||
55 | } |
||
56 |