PHP Класс REBELinBLUE\Deployer\Heartbeat

Наследование: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
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 ( ) : BelongsTo Belongs to relationship.

Описание методов

boot() публичный статический Метод

Override the boot method to bind model event listeners.
public static boot ( )

generateHash() публичный Метод

Generates a hash for use in the webhook URL.
public generateHash ( )

getCallbackUrlAttribute() публичный Метод

Define a accessor for the callback URL.
public getCallbackUrlAttribute ( ) : string
Результат string

isHealthy() публичный Метод

Determines whether the heartbeat is currently healthy.
public isHealthy ( ) : boolean
Результат boolean

pinged() публичный Метод

Updates the last_activity timestamp.
public pinged ( ) : boolean
Результат boolean

project() публичный Метод

Belongs to relationship.
public project ( ) : BelongsTo
Результат Illuminate\Database\Eloquent\Relations\BelongsTo

Описание свойств

$appends защищенное свойство

Additional attributes to include in the JSON representation.
protected array $appends
Результат array

$casts защищенное свойство

The attributes that should be casted to native types.
protected array $casts
Результат array

$dates защищенное свойство

The fields which should be tried as Carbon instances.
protected array $dates
Результат array

$fillable защищенное свойство

The attributes that are mass assignable.
protected array $fillable
Результат array

$hidden защищенное свойство

The attributes excluded from the model's JSON form.
protected array $hidden
Результат array