PHP Class REBELinBLUE\Deployer\Http\Controllers\Resources\HeartbeatController

Inheritance: extends ResourceController
Afficher le fichier Open project: rebelinblue/deployer

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

ping() public méthode

Handles the callback URL for the heartbeat.
public ping ( string $hash ) : Illuminate\View\View
$hash string
Résultat Illuminate\View\View

store() public méthode

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

update() public méthode

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
Résultat Illuminate\View\View