Property | Type | Description | |
---|---|---|---|
$appends | array | Additional attributes to include in the JSON representation. | |
$casts | array | The attributes that should be casted to native types. | |
$dates | array | The fields which should be tried as Carbon instances. | |
$fillable | array | The attributes that are mass assignable. | |
$hidden | array | The attributes excluded from the model's JSON form. |
Method | Description | |
---|---|---|
boot ( ) | Override the boot method to bind model event listeners. | |
generateHash ( ) | Generates a hash for use in the webhook URL. | |
getCallbackUrlAttribute ( ) : string | Define a accessor for the callback URL. | |
isHealthy ( ) : boolean | Determines whether the heartbeat is currently healthy. | |
pinged ( ) : boolean | Updates the last_activity timestamp. | |
project ( ) : |
Belongs to relationship. |
public static boot ( ) |
public getCallbackUrlAttribute ( ) : string | ||
return | string |
public project ( ) : |
||
return |
protected array $appends | ||
return | array |
protected array $casts | ||
return | array |
protected array $dates | ||
return | array |
protected array $fillable | ||
return | array |