PHP Class REBELinBLUE\Deployer\ServerLog

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

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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 méthode

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

getPresenter() public méthode

Gets the view presenter.
public getPresenter ( ) : REBELinBLUE\Deployer\Presenters\ServerLogPresenter
Résultat REBELinBLUE\Deployer\Presenters\ServerLogPresenter

runtime() public méthode

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

server() public méthode

Belongs to association.
public server ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

Property Details

$casts protected_oe property

The attributes that should be casted to native types.
protected array $casts
Résultat array

$dates protected_oe property

The fields which should be tried as Carbon instances.
protected array $dates
Résultat array

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array