Completed
Push — master ( f560d6...a27d66 )
by WEBEWEB
01:15
created

BadgeEnumerator::enumTypes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 9.8666
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) 2019 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\Badge;
13
14
/**
15
 * Badge enumerator.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Bundle\BootstrapBundle\Badge
19
 */
20
class BadgeEnumerator {
21
22
    /**
23
     * Enumerates the types.
24
     *
25
     * @return string[] Returns the types enumeration.
26
     */
27
    public static function enumTypes() {
28
        return [
29
            BadgeInterface::BADGE_TYPE_DANGER,
30
            BadgeInterface::BADGE_TYPE_DARK,
31
            BadgeInterface::BADGE_TYPE_INFO,
32
            BadgeInterface::BADGE_TYPE_LIGHT,
33
            BadgeInterface::BADGE_TYPE_PRIMARY,
34
            BadgeInterface::BADGE_TYPE_SECONDARY,
35
            BadgeInterface::BADGE_TYPE_SUCCESS,
36
            BadgeInterface::BADGE_TYPE_WARNING,
37
        ];
38
    }
39
}
40