Completed
Push — fetcher_factories ( ec83ea...40fc6e )
by David
08:11
created

Controller::getUrlsList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 8
Bugs 1 Features 1
Metric Value
c 8
b 1
f 1
dl 0
loc 11
rs 9.4285
cc 1
eloc 1
nc 1
nop 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