Completed
Push — master ( 189930...c6df03 )
by WEBEWEB
21:37
created

DefaultApplicationThemeProvider   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 66
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 9
lcom 0
cbo 0
dl 0
loc 66
rs 10
c 0
b 0
f 0

9 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getDescription() 0 3 1
A getHome() 0 3 1
A getName() 0 3 1
A getRoute() 0 3 1
A getTitle() 0 3 1
A getVersion() 0 3 1
A getView() 0 3 1
A getYear() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the adminbsb-material-design-bundle package.
5
 *
6
 * (c) 2017 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\AdminBSBBundle\Provider\Bootstrap\Theme;
13
14
use WBW\Bundle\BootstrapBundle\Provider\Theme\ApplicationThemeProviderInterface;
15
16
/**
17
 * Default application theme provider.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\AdminBSBBundle\Provider\Bootstrap\Theme
21
 */
22
class DefaultApplicationThemeProvider implements ApplicationThemeProviderInterface {
23
24
    /**
25
     * Constructor.
26
     */
27
    public function __construct() {
28
        // NOTHING TO DO.
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function getDescription() {
35
        return "AdminBSB Material Design";
36
    }
37
38
    /**
39
     * {@inheritdoc}
40
     */
41
    public function getHome() {
42
        return "/";
43
    }
44
45
    /**
46
     * {@inheritdoc}
47
     */
48
    public function getName() {
49
        return "AdminBSB<b>MaterialDesign</b>";
50
    }
51
52
    /**
53
     * {@inheritdoc}
54
     */
55
    public function getRoute() {
56
        return "/";
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function getTitle() {
63
        return "AdminBSB Material Design";
64
    }
65
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function getVersion() {
70
        return "~1.0@dev";
71
    }
72
73
    /**
74
     * {@inheritdoc}
75
     */
76
    public function getView() {
77
        return null;
78
    }
79
80
    /**
81
     * {@inheritdoc}
82
     */
83
    public function getYear() {
84
        return "2017";
85
    }
86
87
}
88