class ProjectInvitation extends Model

Traits

HasFactory

Properties

protected list<string> $appends

The accessors to append to the model's array form.

Methods

array
casts()

Get the attributes that should be cast.

Project, $this>
project()

The project to which this invitation belongs.

bool
isOpen()

Check if the invitation is still open.

string
getExpiresAtForHumansAttribute()

The expires_at_for_humans.

Details

at line 19
protected array casts()

Get the attributes that should be cast.

Return Value

array

at line 41
Project, $this> project()

The project to which this invitation belongs.

Return Value

Project, $this>

at line 51
bool isOpen()

Check if the invitation is still open.

Return Value

bool

at line 61
string getExpiresAtForHumansAttribute()

The expires_at_for_humans.

Return Value

string