PHP 클래스 REBELinBLUE\Deployer\Repositories\EloquentDeploymentRepository

상속: extends EloquentRepository, implements REBELinBLUE\Deployer\Repositories\Contracts\DeploymentRepositoryInterface, use trait Illuminate\Foundation\Bus\DispatchesJobs
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 메소드들

메소드 설명
__construct ( Deployment $model ) EloquentDeploymentRepository constructor.
abort ( $model_id )
abortQueued ( $project_id ) Gets all pending and running deployments for a project and aborts them.
create ( array $fields )
getLastWeekCount ( $project_id )
getLatest ( $project_id, $paginate = 15 )
getLatestSuccessful ( $project_id )
getPending ( )
getRunning ( )
getTimeline ( )
getTodayCount ( $project_id )
rollback ( $model_id, $reason = '', array $optional = [] ) Creates a new deployment based on a previous one.

비공개 메소드들

메소드 설명
getBetweenDates ( integer $project_id, Carbon\Carbon $startDate, Carbon\Carbon $endDate ) : integer
getStatus ( integer $status ) : Illuminate\Database\Eloquent\Collection

메소드 상세

__construct() 공개 메소드

EloquentDeploymentRepository constructor.
public __construct ( Deployment $model )
$model REBELinBLUE\Deployer\Deployment

abort() 공개 메소드

public abort ( $model_id )

abortQueued() 공개 메소드

public abortQueued ( $project_id )

create() 공개 메소드

public create ( array $fields )
$fields array

getLastWeekCount() 공개 메소드

또한 보기: DeploymentRepository::getBetweenDates()
public getLastWeekCount ( $project_id )

getLatest() 공개 메소드

public getLatest ( $project_id, $paginate = 15 )

getLatestSuccessful() 공개 메소드

public getLatestSuccessful ( $project_id )

getPending() 공개 메소드

public getPending ( )

getRunning() 공개 메소드

public getRunning ( )

getTimeline() 공개 메소드

public getTimeline ( )

getTodayCount() 공개 메소드

또한 보기: DeploymentRepository::getBetweenDates()
public getTodayCount ( $project_id )

rollback() 공개 메소드

public rollback ( $model_id, $reason = '', array $optional = [] )
$optional array