respect-validation/docs/Sf.md

18 lines
269 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Sf
- `Sf(string $validatorName)`
2015-01-30 09:40:06 +01:00
Use Symfony2 validators inside Respect\Validation flow. Messages
are preserved.
```php
v::sf('Time')->validate('15:00:00');
```
2016-11-05 13:32:16 +01:00
Respect\Validation supports version >=3.0.0 of Symfony Validator.
2015-01-30 09:40:06 +01:00
***
2015-01-30 09:40:06 +01:00
See also:
* [Zend](Zend.md)