Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | enum StyleMode: int |
||
8 | { |
||
9 | case NONE = 0; |
||
10 | case ANSI4 = 16; |
||
11 | case ANSI8 = 256; |
||
12 | case ANSI24 = 65535; |
||
13 | |||
14 | public function lowest(self $other): self |
||
15 | { |
||
16 | if ($this->value <= $other->value) { |
||
17 | return $this; |
||
18 | } |
||
19 | return $other; |
||
20 | } |
||
21 | |||
22 | public function isStylingEnabled(): bool |
||
25 | } |
||
26 | } |
||
27 |