MakeRepositoryCommand   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 20
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getGeneratorType() 0 4 1
A execute() 0 6 1
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 MakeRepositoryCommand extends BaseCommand
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    protected function getGeneratorType()
15
    {
16
        return 'repository';
17
    }
18
19
    /**
20
     * {@inheritDoc}
21
     */
22
    protected function execute(InputInterface $input, OutputInterface $output)
23
    {
24
        parent::execute($input, $output);
25
26
        $this->executeGeneration($input, $output);
27
    }
28
}
29