Skip to main content
Configuration / User Model

Modello Utente

Il tuo modello utente deve implementare il contratto Ticketable affinché Escalated possa associare i ticket agli utenti.

use Escalated\Laravel\Contracts\HasTickets;
use Escalated\Laravel\Contracts\Ticketable;

class User extends Authenticatable implements Ticketable
{
    use HasFactory, HasTickets, Notifiable;
}

Il trait HasTickets fornisce una relazione tickets() e metodi helper sul modello utente.