Completed
Push — 3.0 ( d53eed )
by Vermeulen
02:03
created

Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace BfwController;
4
5
/**
6
 * Class to extends for controller object format
7
 * Extends is optional.
8
 */
9
abstract class Controller
10
{
11
    /**
12
     * @var \BFW\Request $request : Request instance to get informations
13
     *      on the http request
14
     */
15
    protected $request;
16
    
17
    /**
18
     * Constructor
19
     * Get \BFW\Request instance.
20
     */
21
    public function __construct()
22
    {
23
        $this->request = \BFW\Request::getInstance();
24
    }
25
}
26