PHP Класс REBELinBLUE\Deployer\ServerLog

Наследование: extends Illuminate\Database\Eloquent\Model, implements Robbo\Presenter\PresentableInterface, implements REBELinBLUE\Deployer\Contracts\RuntimeInterface
Показать файл Открыть проект Примеры использования класса

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

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