Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 1
c 1
b 1
f 0
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadFile() 0 4 1
1
<?php
2
3
namespace Mouf\Mvc\Splash\Controllers;
4
5
use Mouf\Html\HtmlElement\Scopable;
6
7
/**
8
 * Legacy class required by controllers in Splash <8.
9
 */
10
abstract class Controller implements Scopable
11
{
12
    /**
13
     * Inludes the file (useful to load a view inside the Controllers scope).
14
     *
15
     * @param unknown_type $file
16
     */
17
    public function loadFile($file)
18
    {
19
        include $file;
20
    }
21
}
22