1 | <?php |
||
24 | class PunctuationParser implements InlineParserInterface |
||
25 | { |
||
26 | 51 | private $coreParser; |
|
27 | |||
28 | 51 | public function __construct() |
|
33 | |||
34 | /** |
||
35 | * @return string[] |
||
36 | 36 | */ |
|
37 | public function getCharacters(): array |
||
41 | |||
42 | 36 | /** |
|
43 | 3 | * @param InlineParserContext $inlineContext |
|
44 | * |
||
45 | 3 | * @return bool |
|
46 | */ |
||
47 | public function parse(InlineParserContext $inlineContext): bool |
||
51 | } |
||
52 |
If you suppress an error, we recommend checking for the error condition explicitly: