1 | <?php |
||
22 | final class StrikethroughDelimiterProcessor implements DelimiterProcessorInterface |
||
23 | { |
||
24 | private $coreProcessor; |
||
25 | |||
26 | public function __construct() |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function getOpeningCharacter(): string |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getClosingCharacter(): string |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getMinLength(): int |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function getDelimiterUse(DelimiterInterface $opener, DelimiterInterface $closer): int |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function process(AbstractStringContainer $opener, AbstractStringContainer $closer, int $delimiterUse) |
||
71 | } |
||
72 |
If you suppress an error, we recommend checking for the error condition explicitly: