MakeAtomCommand::getGeneratorType()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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 MakeAtomCommand extends BaseCommand
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    protected function getGeneratorType()
15
    {
16
        return 'atom';
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