PHP Class REBELinBLUE\Deployer\Template

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Robbo\Presenter\PresentableInterface
Exibir arquivo Open project: rebelinblue/deployer Class Usage Examples

Protected Properties

Property Type Description
$appends array Additional attributes to include in the JSON representation.
$casts array The attributes that should be casted to native types.
$fillable array The attributes that are mass assignable.
$visible array Fields to show in the JSON presentation.

Public Methods

Method Description
getCommandCountAttribute ( ) : integer Define a accessor for the count of projects.
getConfigCountAttribute ( ) : integer Define a accessor for the count of config files.
getFileCountAttribute ( ) : integer Define a accessor for the count of persistent files.
getPresenter ( ) : CommandPresenter Gets the view presenter.
getVariableCountAttribute ( ) : integer Define a accessor for the count of env variables.
scopeTemplates ( Builder $query ) : Builder Query scope to only show templates.

Method Details

getCommandCountAttribute() public method

Define a accessor for the count of projects.

getConfigCountAttribute() public method

Define a accessor for the count of config files.

getFileCountAttribute() public method

Define a accessor for the count of persistent files.
public getFileCountAttribute ( ) : integer
return integer

getPresenter() public method

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

getVariableCountAttribute() public method

Define a accessor for the count of env variables.

scopeTemplates() public method

Query scope to only show templates.
public scopeTemplates ( Builder $query ) : Builder
$query Illuminate\Database\Eloquent\Builder
return Illuminate\Database\Eloquent\Builder

Property Details

$appends protected_oe property

Additional attributes to include in the JSON representation.
protected array $appends
return array

$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

$visible protected_oe property

Fields to show in the JSON presentation.
protected array $visible
return array