Completed
Push — master ( aa1f02...67250f )
by WEBEWEB
01:45
created

FontAwesomeIconEnumerator::enumAnimations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
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) 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\CoreBundle\Icon;
13
14
/**
15
 * Font Awesome icon enumerator.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Bundle\CoreBundle\Icon
19
 */
20
class FontAwesomeIconEnumerator {
21
22
    /**
23
     * Enumerates the animations.
24
     *
25
     * @return array Returns the animations enumeration.
26
     */
27
    public static function enumAnimations() {
28
        return [
29
            FontAwesomeIconInterface::FONT_AWESOME_ANIMATION_PULSE,
30
            FontAwesomeIconInterface::FONT_AWESOME_ANIMATION_SPIN,
31
        ];
32
    }
33
34
    /**
35
     * Enumerates the fonts.
36
     *
37
     * @return array Returns the fonts enumeration.
38
     */
39
    public static function enumFonts() {
40
        return [
41
            FontAwesomeIconInterface::FONT_AWESOME_FONT,
42
            FontAwesomeIconInterface::FONT_AWESOME_FONT_BOLD,
43
            FontAwesomeIconInterface::FONT_AWESOME_FONT_LIGHT,
44
            FontAwesomeIconInterface::FONT_AWESOME_FONT_REGULAR,
45
            FontAwesomeIconInterface::FONT_AWESOME_FONT_SOLID,
46
        ];
47
    }
48
49
    /**
50
     * Enumerates the pulls.
51
     *
52
     * @return array Returns the pulls enumaration.
53
     */
54
    public static function enumPulls() {
55
        return [
56
            FontAwesomeIconInterface::FONT_AWESOME_PULL_LEFT,
57
            FontAwesomeIconInterface::FONT_AWESOME_PULL_RIGHT,
58
        ];
59
    }
60
61
    /**
62
     * Enumerates the sizes.
63
     *
64
     * @return array Returns the sizes enumeration.
65
     */
66
    public static function enumSizes() {
67
        return [
68
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_LG,
69
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_SM,
70
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_XS,
71
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_2X,
72
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_3X,
73
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_4X,
74
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_5X,
75
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_6X,
76
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_7X,
77
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_8X,
78
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_9X,
79
            FontAwesomeIconInterface::FONT_AWESOME_SIZE_10X,
80
        ];
81
    }
82
83
}
84