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
I can't app::bind() this - class ArrayUserRepository extends Eloquent implements UserRepository { }
But if I'm doing class ArrayUserRepository extends SomeClass implements UserRepository {} it works.
Here is the binding - App::bind('UserRepository', 'ArrayUserRepository');
This is the error - BindingResolutionException: Unresolvable dependency resolving [Parameter #0 [ array $attributes = Array ]].
In the screencast of #L4 about IOC container, it binds the ArrayUserRepository in the UserRepository interface however it is not using Eloquent. I wanted to use eloquent methods so I want ArrayUserRepository to extend Eloquent but it always throws an error when binding it to the UserRepository interface.