Thank you :)!
Laravel allows you binding Interfaces To Implementations. This means lara-repository already do it for you. \App\Repositories\Staff\StaffInterface::class => \App\Repositories\Staff\StaffRepository::class, lara-repository injects the StaffRepository when a class needs an implementation of StaffInterface.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is the
UserInterfacean entity? A Repository? Also, why would you suffix a property name withinterfacewhen it's an object?Thank you :)!
Laravel allows you binding Interfaces To Implementations. This means
lara-repositoryalready do it for you.\App\Repositories\Staff\StaffInterface::class => \App\Repositories\Staff\StaffRepository::class,lara-repositoryinjects the StaffRepository when a class needs an implementation of StaffInterface.