| 1 | <?php |
||
| 17 | class Uri extends AbstractRule |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritDoc} |
||
| 21 | */ |
||
| 22 | public function getRules(ValidatorInterface $validator, ElementInterface $element = null) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | public function getMessages(ValidatorInterface $validator) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Whether this rule supports certain validators |
||
| 37 | * |
||
| 38 | * @param ValidatorInterface $validator |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function canHandle(ValidatorInterface $validator) |
||
| 45 | } |
||
| 46 |