Open
Description
So I'm still learning about interfaces and using the repository pattern in Laravel. My question is whether the controller should be calling a method on the repository that is not present on that repository's interface. For example, in the UserTricksController, we call getEditForm on the Trick repository (line 122):
$form = $this->trick->getEditForm($trick->id);
The getEditForm method is not present on the TrickRepositoryInterface, however, but it is on the TrickRepository.
Metadata
Metadata
Assignees
Labels
No labels