respect-validation/docs/Sf.md

23 lines
345 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');
```
## Changelog
Version | Description
--------|-------------
2.0.0 | Upgraded support to version >=3.0.0 of Symfony Validator
0.3.9 | Created
2015-01-30 09:40:06 +01:00
***
2015-01-30 09:40:06 +01:00
See also:
- [Zend](Zend.md)