| Total Complexity | 4 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class Process implements ProcessInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var int |
||
| 10 | */ |
||
| 11 | private $start; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | private $end; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | private $isReprocess; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Range constructor. |
||
| 25 | * |
||
| 26 | * @param int $start |
||
| 27 | * @param int $end |
||
| 28 | * @param bool $isReprocess |
||
| 29 | */ |
||
| 30 | 4 | public function __construct(int $start, int $end, bool $isReprocess) |
|
| 31 | { |
||
| 32 | 4 | $this->start = $start; |
|
| 33 | 4 | $this->end = $end; |
|
| 34 | 4 | $this->isReprocess = $isReprocess; |
|
| 35 | 4 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 4 | public function getStart(): string |
|
| 41 | { |
||
| 42 | 4 | return $this->start; |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 4 | public function getEnd(): string |
|
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return bool |
||
| 55 | */ |
||
| 56 | 4 | public function isReprocess(): bool |
|
| 59 | } |
||
| 60 | } |