Completed
Push — develop ( f5c859...666980 )
by Alec
02:44
created

ClockSpinner   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 15
dl 0
loc 37
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSymbols() 0 15 1
A getStyles() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit\Tools\Spinner;
4
5
use AlecRabbit\Accessories\Circular;
6
use AlecRabbit\Tools\Spinner\Core\AbstractSpinner;
7
8
class ClockSpinner extends AbstractSpinner
9
{
10
    /**
11
     * @return Circular
12
     */
13
    protected function getSymbols(): Circular
14
    {
15
        return new Circular([
16
            '🕐',
17
            '🕑',
18
            '🕒',
19
            '🕓',
20
            '🕔',
21
            '🕕',
22
            '🕖',
23
            '🕗',
24
            '🕘',
25
            '🕙',
26
            '🕚',
27
            '🕛',
28
//            '🕜',
29
//            '🕝',
30
//            '🕞',
31
//            '🕟',
32
//            '🕠',
33
//            '🕡',
34
//            '🕢',
35
//            '🕣',
36
//            '🕤',
37
//            '🕥',
38
//            '🕦',
39
        ]);
40
    }
41
42
    protected function getStyles(): ?Circular
43
    {
44
        return null;
45
    }
46
}
47