ConsoleFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 11
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A runApplication() 0 3 1
1
<?php
2
3
4
namespace Xervice\Console\Business;
5
6
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Output\OutputInterface;
9
use Xervice\Core\Business\Model\Facade\AbstractFacade;
10
11
/**
12
 * @method \Xervice\Console\Business\ConsoleBusinessFactory getFactory()
13
 */
14
class ConsoleFacade extends AbstractFacade
15
{
16
    /**
17
     * @param \Symfony\Component\Console\Input\InputInterface $input
18
     * @param \Symfony\Component\Console\Output\OutputInterface $output
19
     *
20
     * @throws \Exception
21
     */
22
    public function runApplication(InputInterface $input = null, OutputInterface $output = null): void
23
    {
24
        $this->getFactory()->createApplication()->run($input, $output);
25
    }
26
}
27