Completed
Push — master ( 7b302a...d24209 )
by Tristan
04:27
created

MakeModelCommand::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 2
1
<?php
2
3
namespace Enzyme\Axiom\Console\Commands;
4
5
use Symfony\Component\Console\Input\InputArgument;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
class MakeModelCommand extends BaseCommand
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    protected function getGeneratorType()
15
    {
16
        return 'model';
17
    }
18
19
    /**
20
     * {@inheritDoc}
21
     */
22
    protected function execute(InputInterface $input, OutputInterface $output)
23
    {
24
        parent::execute($input, $output);
25
26
        $dont_affix_type = true;
27
        $this->executeGeneration($input, $output, $dont_affix_type);
28
    }
29
}
30