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

Home::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
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
}