Passed
Push — master ( 1a792f...fc4753 )
by Alxarafe
28:08
created

Index   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/* Copyright (C) 2019       Alxarafe                    <[email protected]>
3
 *
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
8
 *
9
 * This program is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 * GNU General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU General Public License
15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
 */
17
namespace Alixar\Controllers;
18
19
use Alxarafe\Helpers\Skin;
20
use Alixar\Base\AlixarController;
21
use Alixar\Views\IndexView;
22
23
/**
24
 * This class contains the methods and attributes specific to the index
25
 * controller (before home)
26
 *
27
 * @author Alxarafe
28
 */
29
class Index extends AlixarController
30
{
31
32
    public function __construct()
33
    {
34
        Skin::$view = new IndexView();
35
        parent::__construct();
36
    }
37
}
38