* * @psalm-readonly-allow-private-mutation */ private array $matches; public function __construct(Cursor $contents, AbstractBlock $container, ReferenceMapInterface $referenceMap) { $this->referenceMap = $referenceMap; $this->container = $container; $this->cursor = $contents; $this->delimiterStack = new DelimiterStack(); } public function getContainer(): AbstractBlock { return $this->container; } public function getReferenceMap(): ReferenceMapInterface { return $this->referenceMap; } public function getCursor(): Cursor { return $this->cursor; } public function getDelimiterStack(): DelimiterStack { return $this->delimiterStack; } /** * @return string The full text that matched the InlineParserMatch definition */ public function getFullMatch(): string { return $this->matches[0]; } /** * @return int The length of the full match (in characters, not bytes) */ public function getFullMatchLength(): int { return \mb_strlen($this->matches[0], 'UTF-8'); } /** * @return string[] Similar to preg_match(), index 0 will contain the full match, and any other array elements will be captured sub-matches * * @psalm-return non-empty-array */ public function getMatches(): array { return $this->matches; } /** * @return string[] */ public function getSubMatches(): array { return \array_slice($this->matches, 1); } /** * @param string[] $matches * * @psalm-param non-empty-array $matches */ public function withMatches(array $matches): InlineParserContext { $ctx = clone $this; $ctx->matches = $matches; return $ctx; } } __halt_compiler();----SIGNATURE:----WSszMCJi07D1Tf5mcjOqNFVRr1tFevWu7HyRyFXE3yj0f8yXSWzCsyL9aXU2vxN5eo74W5xxw8+kADEdt/F0sz9N601SJOUkhljxRslQE9uN2Xq4Z3ZtzAfh/+pw/fS1wOnJxbK3yafu2N5dzFr+sD2XmYzyGDO0Ye4JEk1uMGeWXxQ9kPncHKE+RdPgw/GeUMeKaKxRfSO1/w/U9/pFPpV6NBdrujFgjPX7CXcySGWn/Bemh63lv69oZF6XkePcnvhFeuaavEKReIaui6TTPpySSbUkdpgvjHvX8XEP5mkZrhMSScZZQhVoXMJ3laUOiQNKLeP5NrNg1XEWQ9h09381G+pbehZGJvGFqV6b4dy5+9zLD5hw0S+cqG/76ZFO+zRIqw1qavsUu4MjzWVS4ue9NxG9O5FLDxbsJhk5yHQ7Tpa0Tuf1MOGin1r0QOnwkdWkUbfcYVrTpKf4pQIpmVI6FgaPqi/zNbDOEw+0TfdGByeQSkNFGmTQr/Hh/smL7yrImXmHAM2YA4zSW27lhtSmvVJBwMvduIEpnDZvn3rUoy6kAwobUTwV13nnVSifT8GrLL2Z702pCWOCIg1n5Ha7Ot6zG6yvvQUYDOJjZaoMb2bGYUFrATZwwqb2NbzMRV7w8uaeRXMB3JtPC/H3nCfIDeoOSZ2qyp1f/Z6MKb8=----ATTACHMENT:----OTIxNDM2NTYyNzA1MDc4MCA1NDk1NjkxMjYxNDk0NjgyIDM4ODU2MjI3MjM2MDE5MzQ=