Completed
Push — master ( b8b783...188bc3 )
by De Cramer
9s
created

DediEventsTestCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 15
rs 10
c 0
b 0
f 0
ccs 9
cts 9
cp 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configure() 0 5 1
A execute() 0 6 1
1
<?php
2
3
namespace eXpansion\Core\Command;
4
5
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
/**
10
 * Class eXpansion....
11
 *
12
 * @package eXpansion\Core\Command
13
 */
14
class DediEventsTestCommand extends ContainerAwareCommand
15
{
16 1
    protected function configure()
17
    {
18 1
        $this->setName('eXpansion:test:dedicated')
19 1
            ->setDescription("Test Dedicated events.");
20 1
    }
21
22 1
    protected function execute(InputInterface $input, OutputInterface $output)
23
    {
24 1
        $this->getContainer()->get('expansion.core.services.application_debug')
25 1
            ->init($output)
26 1
            ->run();
27 1
    }
28
}
29