Completed
Pull Request — master (#59)
by De Cramer
11:58 queued 07:04
created

DediEventsTestCommand::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 2
crap 2
1
<?php
2
3
namespace eXpansion\Framework\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\Framework\Core\Command
13
 */
14
class DediEventsTestCommand extends ContainerAwareCommand
15
{
16
    protected function configure()
17
    {
18
        $this->setName('eXpansion:test:dedicated')
19
            ->setDescription("Test Dedicated events.");
20
    }
21
22
    protected function execute(InputInterface $input, OutputInterface $output)
23
    {
24
        $this->getContainer()->get('expansion.framework.core.services.application_debug')
25
            ->init($output)
26
            ->run();
27
    }
28
}
29