It would be perfect if this is possible to set type hint for Controller's action to an existing model and this way force action to instatiate the model with data passed by post method (if post fields match the model fields ). I know this from asp.net MVC and it works perfect but couldn't find the way to do something similiar in Laravel.
Thank you in advance
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hmd55W
via IFTTT
Aucun commentaire:
Enregistrer un commentaire