| 1 | <?php |
||
| 6 | class Position |
||
| 7 | { |
||
| 8 | // Crazy enough, the output of "unpack()" is indexed starting from 1, not 0. |
||
| 9 | public $index = 1; |
||
| 10 | |||
| 11 | /** @var string|null */ |
||
| 12 | public $captured = null; |
||
| 13 | |||
| 14 | /** @var Context */ |
||
| 15 | public $context; |
||
| 16 | |||
| 17 | public function __construct(Context $context, int $index = 1, ?string $captured = null) |
||
| 23 | } |
||
| 24 |