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

DefaultNavigationThemeProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 24
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getTree() 0 3 1
A getView() 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\Navigation\NavigationTree;
15
use WBW\Bundle\BootstrapBundle\Provider\Theme\NavigationThemeProviderInterface;
16
17
/**
18
 * Default navigation theme provider.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\AdminBSBBundle\Provider\Bootstrap\Theme
22
 */
23
class DefaultNavigationThemeProvider implements NavigationThemeProviderInterface {
24
25
    /**
26
     * Constructor.
27
     */
28
    public function __construct() {
29
        // NOTHING TO DO.
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getTree() {
36
        return new NavigationTree("");
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function getView() {
43
        return null;
44
    }
45
46
}
47