Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

Create a repository that represents the Ticket. It holds all your persistence related logic. You could create a method on it called getTicketByName() and pass your input. Just inject into your controllers, and call the method.

Last updated 2 years ago.
0

Thank you sir :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alex1991 alex1991 Joined 19 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.