mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
297 B
297 B
Sf
v::sf(string $validator)
Use Symfony2 validators inside Respect\Validation flow. Messages are preserved.
v::sf('Time')->validate('15:00:00');
You must add "symfony/validator": "~2.6"
to your require
property on composer.json file.
See also: