Completed
Push — master ( d6bb8e...21b718 )
by Oleg
05:17
created

Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace App\Components;
4
5
use Micro\Base\Container;
6
use Micro\Mvc\Controllers\ViewController as BaseController;
7
8
/**
9
 * Class Controller
10
 * @package App\Components
11
 */
12
class Controller extends BaseController
13
{
14
    /**
15
     * Constructor controller
16
     *
17
     * @access public
18
     *
19
     * @param Container $container
20
     * @param string $modules
21
     *
22
     * @result void
23
     */
24
    public function __construct(Container $container, $modules = '')
25
    {
26
        $this->layout = 'maket';
27
28
        parent::__construct($container, $modules);
29
    }
30
}
31