Application::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Factory;
4
5
use Illuminate\Container\Container;
6
7
class Application extends \Symfony\Component\Console\Application
8
{
9
    /**
10
     * @var Container
11
     */
12
    public $container;
13
14
    public function __construct($version)
15
    {
16
        parent::__construct('Factory', $version);
17
        $this->container = new Container;
18
    }
19
}
20