PHP Interface REBELinBLUE\Deployer\Contracts\Repositories\DeploymentRepositoryInterface

Afficher le fichier Open project: rebelinblue/deployer Interface Usage Examples

Méthodes publiques

Méthode Description
abort ( integer $model_id )
abortQueued ( integer $project_id )
create ( array $fields ) : Model
getById ( integer $model_id ) : Model
getLastWeekCount ( integer $project_id ) : integer
getLatest ( integer $project_id, integer $paginate = 15 ) : Illuminate\Database\Eloquent\Collection
getLatestSuccessful ( integer $project_id ) : Deployment
getPending ( ) : Illuminate\Database\Eloquent\Collection
getRunning ( ) : Illuminate\Database\Eloquent\Collection
getTimeline ( ) : Illuminate\Database\Eloquent\Collection
getTodayCount ( integer $project_id ) : integer
rollback ( integer $model_id, string $reason = '', array $optional = [] ) : Model

Method Details

abort() public méthode

public abort ( integer $model_id )
$model_id integer

abortQueued() public méthode

public abortQueued ( integer $project_id )
$project_id integer

create() public méthode

public create ( array $fields ) : Model
$fields array
Résultat Illuminate\Database\Eloquent\Model

getById() public méthode

public getById ( integer $model_id ) : Model
$model_id integer
Résultat Illuminate\Database\Eloquent\Model

getLastWeekCount() public méthode

public getLastWeekCount ( integer $project_id ) : integer
$project_id integer
Résultat integer

getLatest() public méthode

public getLatest ( integer $project_id, integer $paginate = 15 ) : Illuminate\Database\Eloquent\Collection
$project_id integer
$paginate integer
Résultat Illuminate\Database\Eloquent\Collection

getLatestSuccessful() public méthode

public getLatestSuccessful ( integer $project_id ) : Deployment
$project_id integer
Résultat REBELinBLUE\Deployer\Deployment

getPending() public méthode

public getPending ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

getRunning() public méthode

public getRunning ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

getTimeline() public méthode

public getTimeline ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

getTodayCount() public méthode

public getTodayCount ( integer $project_id ) : integer
$project_id integer
Résultat integer

rollback() public méthode

public rollback ( integer $model_id, string $reason = '', array $optional = [] ) : Model
$model_id integer
$reason string
$optional array
Résultat Illuminate\Database\Eloquent\Model