samedi 20 avril 2019

What is the difference between \Validator::make($input, $rules) and Validator::make($input, $rules)?

It seems like that the Validator::make($input, $rules) is not working when I try to validate the request. The added prefix of "\" makes the job done.

What is the reason behind this mark use since lots of the documentation and lectures don't make use of it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire