PHP Interface REBELinBLUE\Deployer\Contracts\Repositories\CommandRepositoryInterface

Show file Open project: rebelinblue/deployer Interface Usage Examples

Public Methods

Method Description
create ( array $fields ) : Model
deleteById ( integer $model_id ) : boolean
getForDeployStep ( integer $target_id, string $target, integer $step ) : Illuminate\Database\Eloquent\Collection
updateById ( array $fields, integer $model_id ) : Model

Method Details

create() public method

public create ( array $fields ) : Model
$fields array
return Illuminate\Database\Eloquent\Model

deleteById() public method

public deleteById ( integer $model_id ) : boolean
$model_id integer
return boolean

getForDeployStep() public method

public getForDeployStep ( integer $target_id, string $target, integer $step ) : Illuminate\Database\Eloquent\Collection
$target_id integer
$target string
$step integer
return Illuminate\Database\Eloquent\Collection

updateById() public method

public updateById ( array $fields, integer $model_id ) : Model
$fields array
$model_id integer
return Illuminate\Database\Eloquent\Model