FoundationController::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
ccs 0
cts 5
cp 0
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php namespace Arcanesoft\Pages\Bases;
2
3
use Arcanesoft\Core\Bases\FoundationController as BaseController;
4
use Arcanesoft\Core\Traits\Notifyable;
5
6
/**
7
 * Class     FoundationController
8
 *
9
 * @package  Arcanesoft\Pages\Bases
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class FoundationController extends BaseController
13
{
14
    /* ------------------------------------------------------------------------------------------------
15
     |  Traits
16
     | ------------------------------------------------------------------------------------------------
17
     */
18
    use Notifyable;
19
20
    /* ------------------------------------------------------------------------------------------------
21
     |  Properties
22
     | ------------------------------------------------------------------------------------------------
23
     */
24
    /**
25
     * The view namespace.
26
     *
27
     * @var string
28
     */
29
    protected $viewNamespace = 'pages';
30
31
    /* ------------------------------------------------------------------------------------------------
32
     |  Constructor
33
     | ------------------------------------------------------------------------------------------------
34
     */
35
    /**
36
     * Instantiate the controller.
37
     */
38
    public function __construct()
39
    {
40
        parent::__construct();
41
42
        $this->addBreadcrumbRoute('CMS', 'pages::foundation.dashboard');
43
    }
44
}
45