PHP Класс REBELinBLUE\Deployer\Server

Наследование: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$casts array The attributes that should be casted to native types.
$fillable array The attributes that are mass assignable.
$hidden array The attributes excluded from the model's JSON form.

Открытые методы

Метод Описание
getCleanPathAttribute ( ) : string The server path without a trailing slash.
isTesting ( ) : boolean Determines whether the server is currently being testing.
project ( ) : BelongsTo Belongs to relationship.
setIpAddressAttribute ( string $value ) Define a mutator for the IP Address, if it has changed or has not previously been set also set the status to untested.
setPathAttribute ( string $value ) Define a mutator for the path, if it has changed or has not previously been set also set the status to untested.
setPortAttribute ( string $value ) Define a mutator for the port, if it has changed or has not previously been set also set the status to untested.
setUserAttribute ( string $value ) Define a mutator for the user, if it has changed or has not previously been set also set the status to untested.

Приватные методы

Метод Описание
setAttributeStatusUntested ( string $attribute, mixed $value ) Updates the attribute value and if it has changed set the server status to untested.

Описание методов

getCleanPathAttribute() публичный Метод

The server path without a trailing slash.
public getCleanPathAttribute ( ) : string
Результат string

isTesting() публичный Метод

Determines whether the server is currently being testing.
public isTesting ( ) : boolean
Результат boolean

project() публичный Метод

Belongs to relationship.
public project ( ) : BelongsTo
Результат Illuminate\Database\Eloquent\Relations\BelongsTo

setIpAddressAttribute() публичный Метод

Define a mutator for the IP Address, if it has changed or has not previously been set also set the status to untested.
public setIpAddressAttribute ( string $value )
$value string

setPathAttribute() публичный Метод

Define a mutator for the path, if it has changed or has not previously been set also set the status to untested.
public setPathAttribute ( string $value )
$value string

setPortAttribute() публичный Метод

Define a mutator for the port, if it has changed or has not previously been set also set the status to untested.
public setPortAttribute ( string $value )
$value string

setUserAttribute() публичный Метод

Define a mutator for the user, if it has changed or has not previously been set also set the status to untested.
public setUserAttribute ( string $value )
$value string

Описание свойств

$casts защищенное свойство

The attributes that should be casted to native types.
protected array $casts
Результат 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