Completed
Push — master ( 2552f2...1e8e6c )
by WEBEWEB
01:38
created

CoreBundle::getAssetsDirectory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the core-bundle package.
5
 *
6
 * (c) 2018 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\CoreBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use WBW\Bundle\CoreBundle\Provider\AssetsProviderInterface;
16
17
/**
18
 * Core bundle.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\CoreBundle
22
 */
23
class CoreBundle extends Bundle implements AssetsProviderInterface {
24
25
    /**
26
     * Core "Danger".
27
     *
28
     * @var string
29
     */
30
    const CORE_DANGER = "danger";
31
32
    /**
33
     * Core "Info".
34
     *
35
     * @var string
36
     */
37
    const CORE_INFO = "info";
38
39
    /**
40
     * Core "Success".
41
     *
42
     * @var string
43
     */
44
    const CORE_SUCCESS = "success";
45
46
    /**
47
     * Core "Warning".
48
     *
49
     * @var string
50
     */
51
    const CORE_WARNING = "warning";
52
53
    /**
54
     * {@inheritdoc}
55
     */
56
    public function getAssetsDirectory() {
57
        return "/Resources/assets";
58
    }
59
60
}
61