vendredi 26 mai 2017

How do I send a data from Validator::extend() to Validator::replacer() so that my message can be more detailed?

I'm validating the contents of a csv with a custom validator to ensure that the rows and cells are all valid. When I find an error - I want the message to be specific. Is there a way to send information from Validator::extend() to Validator::replacer() ?

Unfortunately my company infra is not good, so I don't have sessions or redis or anything. Pure php/laravel solution.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rZxpOw
via IFTTT

Aucun commentaire:

Enregistrer un commentaire