PHP Class REBELinBLUE\Deployer\Repositories\EloquentProjectRepository

Inheritance: extends EloquentRepository, implements REBELinBLUE\Deployer\Repositories\Contracts\ProjectRepositoryInterface, use trait Illuminate\Foundation\Bus\DispatchesJobs
Show file Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( Project $model ) EloquentProjectRepository constructor.
create ( array $fields )
getAll ( )
getByHash ( $hash )
updateById ( array $fields, $model_id )

Method Details

__construct() public method

EloquentProjectRepository constructor.
public __construct ( Project $model )
$model REBELinBLUE\Deployer\Project

create() public method

public create ( array $fields )
$fields array

getAll() public method

public getAll ( )

getByHash() public method

public getByHash ( $hash )

updateById() public method

public updateById ( array $fields, $model_id )
$fields array