Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 37
rs 10
c 1
b 0
f 0
ccs 0
cts 5
cp 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php namespace Arcanesoft\Seo\Http\Controllers\Admin;
2
3
use Arcanedev\LaravelApiHelper\Traits\JsonResponses;
4
use Arcanesoft\Core\Http\Controllers\AdminController;
5
use Arcanesoft\Core\Traits\Notifyable;
6
7
/**
8
 * Class     Controller
9
 *
10
 * @package  Arcanesoft\Seo\Http\Controllers\Admin
11
 * @author   ARCANEDEV <[email protected]>
12
 */
13
abstract class Controller extends AdminController
14
{
15
    /* -----------------------------------------------------------------
16
     |  Traits
17
     | -----------------------------------------------------------------
18
     */
19
20
    use Notifyable,
21
        JsonResponses;
22
23
    /* -----------------------------------------------------------------
24
     |  Properties
25
     | -----------------------------------------------------------------
26
     */
27
28
    /**
29
     * The view namespace.
30
     *
31
     * @var string
32
     */
33
    protected $viewNamespace = 'seo';
34
35
    /* ------------------------------------------------------------------------------------------------
36
     |  Constructor
37
     | ------------------------------------------------------------------------------------------------
38
     */
39
40
    /**
41
     * Instantiate the controller.
42
     */
43
    public function __construct()
44
    {
45
        parent::__construct();
46
47
        $this->addBreadcrumbRoute('SEO', 'admin::seo.stats.index');
48
    }
49
}
50
51