Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | abstract class APattern implements IPattern |
||
15 | { |
||
16 | /** @var int */ |
||
17 | protected const UPDATE_INTERVAL = 1000; |
||
18 | |||
19 | /** @var array */ |
||
20 | protected const PATTERN = [' ', ' u', 'un', 'nd', 'de', 'ef', 'fi', 'in', 'ne', 'ed', 'd ',]; |
||
21 | |||
22 | public function __construct( |
||
25 | } |
||
26 | |||
27 | public function getPattern(): Traversable |
||
28 | { |
||
29 | return $this->pattern(); |
||
30 | } |
||
31 | |||
32 | protected function pattern(): Traversable |
||
35 | } |
||
36 | |||
37 | public function getInterval(): IInterval |
||
41 | } |
||
42 | } |
||
43 |