PHP Interface REBELinBLUE\Deployer\Contracts\Repositories\DeploymentRepositoryInterface

ファイルを表示 Open project: rebelinblue/deployer Interface Usage Examples

Public Methods

Method 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 method

public abort ( integer $model_id )
$model_id integer

abortQueued() public method

public abortQueued ( integer $project_id )
$project_id integer

create() public method

public create ( array $fields ) : Model
$fields array
return Illuminate\Database\Eloquent\Model

getById() public method

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

getLastWeekCount() public method

public getLastWeekCount ( integer $project_id ) : integer
$project_id integer
return integer

getLatest() public method

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

getLatestSuccessful() public method

public getLatestSuccessful ( integer $project_id ) : Deployment
$project_id integer
return REBELinBLUE\Deployer\Deployment

getPending() public method

public getPending ( ) : Illuminate\Database\Eloquent\Collection
return Illuminate\Database\Eloquent\Collection

getRunning() public method

public getRunning ( ) : Illuminate\Database\Eloquent\Collection
return Illuminate\Database\Eloquent\Collection

getTimeline() public method

public getTimeline ( ) : Illuminate\Database\Eloquent\Collection
return Illuminate\Database\Eloquent\Collection

getTodayCount() public method

public getTodayCount ( integer $project_id ) : integer
$project_id integer
return integer

rollback() public method

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