SfApplication::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Yoanm\ComposerConfigManager\Infrastructure;
3
4
use Symfony\Component\Console\Application;
5
use Symfony\Component\Console\Command\Command;
6
7
class SfApplication extends Application
8
{
9
    /**
10
     * @param Command[] $commandList
11
     */
12
    public function __construct(array $commandList = [])
13
    {
14
        parent::__construct();
15
        $this->addCommands($commandList);
16
    }
17
}
18