Completed
Push — master ( 8d8bfa...591466 )
by WEBEWEB
14:10
created

DefaultDropDownNotificationsProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getNotifications() 0 3 1
A getTemplate() 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\DropDown;
13
14
use WBW\Bundle\BootstrapBundle\Provider\DropDown\DropDownNotificationsProviderInterface;
15
16
/**
17
 * Default drop down "Notifications" provider.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\AdminBSBBundle\Provider\DropDown
21
 */
22
class DefaultDropDownNotificationsProvider implements DropDownNotificationsProviderInterface {
23
24
    /**
25
     * Constructor.
26
     */
27
    public function __construct() {
28
        // NOTHING TO DO.
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function getNotifications() {
35
        return [];
36
    }
37
38
    /**
39
     * {@inheritdoc}
40
     */
41
    public function getTemplate() {
42
        return "@ABSBMD/html/body/nav/div/div/ul/li.dropdown_notifications.html.twig";
43
    }
44
45
}
46