1 | <?php |
||
7 | final class UuidMatcher extends Matcher |
||
8 | { |
||
9 | const UUID_PATTERN = '/^@uuid@$/'; |
||
10 | const UUID_FORMAT_PATTERN = '|^[\da-f]{8}-[\da-f]{4}-4[\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$|'; |
||
11 | |||
12 | /** |
||
13 | * {@inheritDoc} |
||
14 | */ |
||
15 | public function match($value, $pattern) |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | public function canMatch($pattern) |
||
45 | } |
||
46 |