PHP 클래스 REBELinBLUE\Deployer\ServerLog

상속: extends Illuminate\Database\Eloquent\Model, implements Robbo\Presenter\PresentableInterface, implements REBELinBLUE\Deployer\Contracts\RuntimeInterface
파일 보기 프로젝트 열기: rebelinblue/deployer 1 사용 예제들

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
boot ( ) Override the boot method to bind model event listeners.
getPresenter ( ) : REBELinBLUE\Deployer\Presenters\ServerLogPresenter Gets the view presenter.
runtime ( ) : false | integer Calculates how long the commands were running on the server for.
server ( ) : BelongsTo Belongs to association.

메소드 상세

boot() 공개 정적인 메소드

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

getPresenter() 공개 메소드

Gets the view presenter.
public getPresenter ( ) : REBELinBLUE\Deployer\Presenters\ServerLogPresenter
리턴 REBELinBLUE\Deployer\Presenters\ServerLogPresenter

runtime() 공개 메소드

Calculates how long the commands were running on the server for.
public runtime ( ) : false | integer
리턴 false | integer Returns false if the command has not yet finished or the runtime in seconds

server() 공개 메소드

Belongs to association.
public server ( ) : BelongsTo
리턴 Illuminate\Database\Eloquent\Relations\BelongsTo

프로퍼티 상세

$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