Completed
Push — master ( f0448f...4201d1 )
by Julien
14s
created

RemoveEventCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 2 1
A configure() 0 7 1
1
<?php
2
3
namespace TheAentMachine\AentDockerCompose\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputArgument;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Output\OutputInterface;
9
10
class RemoveEventCommand extends EventCommand
11
{
12
    protected function configure()
13
    {
14
        $this
15
            ->setName(Cst::REMOVE_EVENT)
16
            ->setDescription("An event from aenthill")
17
            ->setHelp('TODO')
18
            ->addArgument('payload', InputArgument::OPTIONAL, "The payload of the event");
19
    }
20
21
    protected function execute(InputInterface $input, OutputInterface $output)
22
    {
23
        // TODO
24
    }
25
}
26