Completed
Push — master ( ba9a91...2a62e7 )
by WEBEWEB
02:17
created

BootstrapBundle::getBootstrapConstants()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.9332
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the bootstrap-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\BootstrapBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
16
/**
17
 * Bootstrap bundle.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\BootstrapBundle
21
 */
22
class BootstrapBundle extends Bundle {
23
24
    /**
25
     * Bootstrap "Danger".
26
     *
27
     * @var string
28
     */
29
    const BOOTSTRAP_DANGER = "danger";
30
31
    /**
32
     * Bootstrap "Default".
33
     *
34
     * @var string
35
     */
36
    const BOOTSTRAP_DEFAULT = "default";
37
38
    /**
39
     * Bootstrap "Info".
40
     *
41
     * @var string
42
     */
43
    const BOOTSTRAP_INFO = "info";
44
45
    /**
46
     * Bootstrap "Primary".
47
     *
48
     * @var string
49
     */
50
    const BOOTSTRAP_PRIMARY = "primary";
51
52
    /**
53
     * Bootstrap "Success".
54
     *
55
     * @var string
56
     */
57
    const BOOTSTRAP_SUCCESS = "success";
58
59
    /**
60
     * Bootstrap "Warning".
61
     *
62
     * @var string
63
     */
64
    const BOOTSTRAP_WARNING = "warning";
65
66
    /**
67
     * Get the Bootstrap constants.
68
     *
69
     * @return array Returns the Bootstrap constants.
70
     */
71
    public static function getBootstrapConstants() {
72
        return [
73
            self::BOOTSTRAP_DANGER,
74
            self::BOOTSTRAP_DEFAULT,
75
            self::BOOTSTRAP_INFO,
76
            self::BOOTSTRAP_PRIMARY,
77
            self::BOOTSTRAP_SUCCESS,
78
            self::BOOTSTRAP_WARNING,
79
        ];
80
    }
81
82
}
83