tao-test/app/vendor/respect/validation/docs/rules/Zend.md

18 lines
309 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# Zend
- `v::zend(mixed $validator)`
Use Zend validators inside Respect\Validation flow. Messages
are preserved.
```php
v::zend('Hostname')->validate('google.com');
```
You must add `"zendframework/zend-validator": "~2.3"` to your `require` property on composer.json file.
***
See also:
* [Sf](Sf.md)