1 | <?php |
||
20 | final class EmailAutolinkProcessor |
||
21 | { |
||
22 | const REGEX = '/([A-Za-z0-9.\-_+]+@[A-Za-z0-9\-_]+\.[A-Za-z0-9\-_.]+)/'; |
||
23 | |||
24 | private $coreProcessor; |
||
25 | |||
26 | public function __construct() |
||
31 | 105 | ||
32 | 105 | /** |
|
33 | 105 | * @param DocumentParsedEvent $e |
|
34 | 99 | * |
|
35 | * @return void |
||
36 | */ |
||
37 | 105 | public function __invoke(DocumentParsedEvent $e) |
|
41 | } |
||
42 |
If you suppress an error, we recommend checking for the error condition explicitly: