Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validation

Validator::extendImplicit('foo', function ($attribute, $value, $parameters, $validator) {
    return $value == 'foo';
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #validation
ADD COMMENT
Topic
Name
6+7 =