1 | <?php |
||
11 | class ModelCommand extends AbstractScaffoldingCommand |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $type = 'model'; |
||
17 | |||
18 | /** |
||
19 | * Execute command |
||
20 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
21 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
22 | * @return void |
||
23 | */ |
||
24 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
30 | |||
31 | /** |
||
32 | * File Template |
||
33 | * @param string $namespace |
||
34 | * @param string $name |
||
35 | * @param string $topNSPart |
||
36 | * @return string |
||
37 | */ |
||
38 | 2 | protected function template($namespace, $name, $topNSPart = "Models") |
|
59 | } |
||
60 |