Completed
Push — master ( f8decb...0d0ae6 )
by Arnaud
15s
created

Home   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 6 1
1
<?php
2
3
namespace App\Controllers;
4
5
/**
6
 * Class Home
7
 *
8
 * The home page
9
 *
10
 * @package App\Controllers
11
 */
12
class Home extends \Core\Controller
13
{
14
15
    public function index()
16
    {
17
        $Includes = new \App\Models\Includes($this->container);
18
        $this->data['navigation'] = $Includes->getMenu();
19
        $this->data['jumbotron'] = $Includes->getJumbotron();
20
        $this->renderView('Home');
21
    }
22
}