REBELinBLUE\Deployer\Http\Controllers\Resources\HeartbeatController::ping PHP Method

ping() public method

Handles the callback URL for the heartbeat.
public ping ( string $hash ) : Illuminate\View\View
$hash string
return Illuminate\View\View
    public function ping($hash)
    {
        $heartbeat = $this->repository->getByHash($hash);
        $heartbeat->pinged();
        return ['success' => true];
    }