Beispiel #1
0
 /**
  * TicketRepository constructor.
  */
 public function __construct(Ticket $ticket, TicketAnswer $ticketAnswer, TicketCategory $category)
 {
     $this->model = $ticket;
     $this->ticketAnswer = $ticketAnswer;
     $this->category = $category;
     $this->userId = \Auth::id();
     $this->ansTable = $ticketAnswer->getTable();
     $this->tckTable = $ticket->getTable();
     $this->catTable = $category->getTable();
 }