PHP 클래스 REBELinBLUE\Deployer\Http\Controllers\Resources\HeartbeatController

상속: extends ResourceController
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 메소드들

메소드 설명
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\HeartbeatRepositoryInterface $repository ) HeartbeatController constructor.
ping ( string $hash ) : Illuminate\View\View Handles the callback URL for the heartbeat.
store ( StoreHeartbeatRequest $request ) : Illuminate\View\View Store a newly created heartbeat in storage.
update ( integer $heartbeat_id, StoreHeartbeatRequest $request ) : Illuminate\View\View Update the specified heartbeat in storage.

메소드 상세

__construct() 공개 메소드

HeartbeatController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\HeartbeatRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\HeartbeatRepositoryInterface

ping() 공개 메소드

Handles the callback URL for the heartbeat.
public ping ( string $hash ) : Illuminate\View\View
$hash string
리턴 Illuminate\View\View

store() 공개 메소드

Store a newly created heartbeat in storage.
public store ( StoreHeartbeatRequest $request ) : Illuminate\View\View
$request REBELinBLUE\Deployer\Http\Requests\StoreHeartbeatRequest
리턴 Illuminate\View\View

update() 공개 메소드

Update the specified heartbeat in storage.
public update ( integer $heartbeat_id, StoreHeartbeatRequest $request ) : Illuminate\View\View
$heartbeat_id integer
$request REBELinBLUE\Deployer\Http\Requests\StoreHeartbeatRequest
리턴 Illuminate\View\View