1 | <?php |
||
19 | class AnyEmailMatcher implements EmailMatcher { |
||
20 | |||
21 | /** |
||
22 | * Test if an email matches the conditions |
||
23 | * |
||
24 | * @param Email $email |
||
25 | * |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function matches(Email $email) |
||
32 | |||
33 | /** |
||
34 | * Describe the matcher for use in exceptions etc |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function __toString() |
||
42 | |||
43 | } |
||
44 |