1 | <?php |
||
21 | final class TaskListItemMarkerParser implements InlineParserInterface |
||
22 | { |
||
23 | private $coreParser; |
||
24 | |||
25 | public function __construct() |
||
30 | |||
31 | /** |
||
32 | * @return string[] |
||
33 | */ |
||
34 | public function getCharacters(): array |
||
38 | |||
39 | /** |
||
40 | * @param InlineParserContext $inlineContext |
||
41 | * |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function parse(InlineParserContext $inlineContext): bool |
||
48 | } |
||
49 |
If you suppress an error, we recommend checking for the error condition explicitly: