PHP Class REBELinBLUE\Deployer\Repositories\EloquentProjectRepository

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

Méthodes publiques

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

Method Details

__construct() public méthode

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

create() public méthode

public create ( array $fields )
$fields array

getAll() public méthode

public getAll ( )

getByHash() public méthode

public getByHash ( $hash )

updateById() public méthode

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