| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Rule |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | private $from; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | private $to; |
||
| 14 | |||
| 15 | 539 | public function __construct(string $from, string $to) |
|
| 16 | { |
||
| 17 | 539 | $this->from = $from; |
|
| 18 | 539 | $this->to = $to; |
|
| 19 | 539 | } |
|
| 20 | |||
| 21 | 534 | public function getFrom() : string |
|
| 24 | } |
||
| 25 | |||
| 26 | 533 | public function getTo() : string |
|
| 29 | } |
||
| 30 | } |
||
| 31 |