Friday, 15 May 2015

validation - Extending Laravel's Validator Class -



validation - Extending Laravel's Validator Class -

i using laravel's validator class, , when validation fails print out errors method:

$validator->messages();

the method returns multi dimensional array, need single dimensional array.

$validator->net_method();

how go extending new method homecoming errors in different format?

laravel validation extend

No comments:

Post a Comment