PHP Interface REBELinBLUE\Deployer\Contracts\Repositories\ServerRepositoryInterface

Show file Open project: rebelinblue/deployer

Public Methods

Method Description
create ( array $fields ) : Model
deleteById ( integer $model_id ) : boolean
getById ( integer $model_id ) : Model
queueForTesting ( integer $model_id ) : array
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

getById() public method

public getById ( integer $model_id ) : Model
$model_id integer
return Illuminate\Database\Eloquent\Model

queueForTesting() public method

public queueForTesting ( integer $model_id ) : array
$model_id integer
return array

updateById() public method

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