PHP Class REBELinBLUE\Deployer\Server

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
ファイルを表示 Open project: rebelinblue/deployer Class Usage Examples

Protected Properties

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

Public Methods

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

Private Methods

Method Description
setAttributeStatusUntested ( string $attribute, mixed $value ) Updates the attribute value and if it has changed set the server status to untested.

Method Details

getCleanPathAttribute() public method

The server path without a trailing slash.
public getCleanPathAttribute ( ) : string
return string

isTesting() public method

Determines whether the server is currently being testing.
public isTesting ( ) : boolean
return boolean

project() public method

Belongs to relationship.
public project ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

setIpAddressAttribute() public method

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() public method

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() public method

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() public method

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

Property Details

$casts protected_oe property

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

$fillable protected_oe property

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

$hidden protected_oe property

The attributes excluded from the model's JSON form.
protected array $hidden
return array