I have 3 repositories: UserRepository, ReviewRepository, VenueRepository I have a specif method which gets a user's latest review for a venue. The problem is this! in which repository should I put this method?! Or should I keep it in user model?
Please sign in or create an account to participate in this conversation.
Reply to
Use Markdown with GitHub-flavored code blocks.
There's no shortage of content at Laracasts. In fact, you could watch nonstop for days upon days, and still not see everything!
Get Started
Where should I put this?
I have 3 repositories: UserRepository, ReviewRepository, VenueRepository I have a specif method which gets a user's latest review for a venue. The problem is this!
in which repository should I put this method?!
Or should I keep it in user model?