You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
eklundkristoffer
changed the title
[Laravel 5.2] Implicit route model binding a binded interface
[5.2] Implicit route model binding a binded interface
Jan 9, 2016
I'm also having this issue (type hinting with interface doesn't load the model). I dug in Laravel's source and I think I could implement it. The question is whether would that PR be accepted? If yes, I'll do it - would be a nice addition to 5.5 ;)
Hello, I try to do a implicit route model binding on a interface that is binded to my User model but it wont work. I created a thread on Laracasts about this, so you can see the example over there. https://laracasts.com/discuss/channels/laravel/implicit-route-model-bind-a-contract
EDIT: Adding the example here as well
Is there a way to accomplish this? Thanks :)
The text was updated successfully, but these errors were encountered: