1 | <?php |
||
13 | abstract class AbstractScaffoldingCommand extends Command |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $type; |
||
19 | |||
20 | /** |
||
21 | * Command Config |
||
22 | */ |
||
23 | protected function configure() |
||
40 | |||
41 | /** |
||
42 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
43 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
44 | * @param string $path |
||
45 | */ |
||
46 | protected function createFileTemplate(InputInterface $input, OutputInterface $output, $path) |
||
68 | |||
69 | /** |
||
70 | * File Template |
||
71 | * @param string $namespace |
||
72 | * @param string $name |
||
73 | * @param string $topNSPart |
||
74 | * @return string |
||
75 | */ |
||
76 | abstract protected function template($namespace, $name, $topNSPart = ""); |
||
77 | } |
||
78 |