i want to extend validation setting another field just like that:
return Validator::make($data, [
'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'password' => 'required|min:6|confirmed',
'another_field' => 'validation'
]);
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gZu93l
via IFTTT
Aucun commentaire:
Enregistrer un commentaire