homeController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the Ocrend Framewok 3 package.
5
 *
6
 * (c) Ocrend Software <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
*/
11
12
namespace app\controllers;
13
14
use app\models as Model;
15
use Ocrend\Kernel\Helpers as Helper;
16
use Ocrend\Kernel\Controllers\Controllers;
17
use Ocrend\Kernel\Controllers\IControllers;
18
use Ocrend\Kernel\Router\IRouter;
19
20
/**
21
 * Controlador home/
22
 *
23
 * @author Ocrend Software C.A <[email protected]>
24
*/
25
class homeController extends Controllers implements IControllers {
26
27
    public function __construct(IRouter $router) {
28
        parent::__construct($router);
29
        $this->template->display('home/home');
30
    }
31
}