| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 5 | final class Flags |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | private $marker; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $flags; |
||
| 17 | |||
| 18 | |||
| 19 | public function __construct(string $marker, string $flags) |
||
| 20 | { |
||
| 21 | $this->marker = $marker; |
||
| 22 | $this->flags = $flags; |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 26 | public function getMarker(): string |
||
| 27 | { |
||
| 28 | return $this->marker; |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | public function getFlags(): string |
||
| 35 | } |
||
| 36 | |||
| 37 | } |
||
| 38 |