Where should I put this?

Posted 3 years ago by Mithridates

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.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.