PHP Class REBELinBLUE\Deployer\ServerLog

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Robbo\Presenter\PresentableInterface, implements REBELinBLUE\Deployer\Contracts\RuntimeInterface
Mostrar archivo Open project: rebelinblue/deployer Class Usage Examples

Protected Properties

Property Type Description
$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.

Public Methods

Method Description
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.

Method Details

boot() public static method

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

getPresenter() public method

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

runtime() public method

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

server() public method

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

Property Details

$casts protected_oe property

The attributes that should be casted to native types.
protected array $casts
return array

$dates protected_oe property

The fields which should be tried as Carbon instances.
protected array $dates
return array

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
return array