Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
21 | final class EmailAutolinkParser implements InlineParserInterface |
||
22 | { |
||
23 | private const REGEX = '[A-Za-z0-9.\-_+]+@[A-Za-z0-9\-_]+\.[A-Za-z0-9\-_.]+'; |
||
24 | |||
25 | 234 | public function getMatchDefinition(): InlineParserMatch |
|
28 | } |
||
29 | |||
30 | 33 | public function parse(string $match, InlineParserContext $inlineContext): bool |
|
48 |