Total Complexity | 14 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class Progression |
||
9 | { |
||
10 | |||
11 | private $from; |
||
12 | private $to; |
||
13 | private $start = 0; |
||
14 | private $len = null; |
||
15 | private $filters = []; |
||
16 | |||
17 | 32 | public function __construct(Group $from, Group $to, int $start = 0, int $len = null) { |
|
18 | 32 | $this->from = $from; |
|
19 | 32 | $this->to = $to; |
|
20 | 32 | $this->start = $start; |
|
21 | 32 | $this->len = $len; |
|
22 | 32 | } |
|
23 | |||
24 | 17 | public function __toString() { |
|
26 | } |
||
27 | |||
28 | 7 | public function addFilter(TeamFilter ...$filters) { |
|
33 | } |
||
34 | |||
35 | 31 | public function progress(bool $blank = false) { |
|
58 |