PHP 클래스 REBELinBLUE\Deployer\Heartbeat

상속: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
파일 보기 프로젝트 열기: rebelinblue/deployer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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