| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 8 | final class GroupBegin extends Token |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Holds group's left side delimiter string. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $delimiter; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string|null |
||
| 20 | */ |
||
| 21 | private $domain; |
||
| 22 | |||
| 23 | |||
| 24 | 88 | public function __construct(string $lexeme, int $position, string $delimiter, ?string $domain) |
|
| 30 | 88 | } |
|
| 31 | |||
| 32 | |||
| 33 | 24 | public function getDelimiter(): string |
|
| 34 | { |
||
| 35 | 24 | return $this->delimiter; |
|
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | 24 | public function getDomain(): ?string |
|
| 42 | } |
||
| 43 | |||
| 45 |