PHP 클래스 REBELinBLUE\Deployer\Http\Webhooks\Webhook

파일 보기 프로젝트 열기: rebelinblue/deployer

보호된 프로퍼티들

프로퍼티 타입 설명
$request Illuminate\Http\Request The HTTP request object.

공개 메소드들

메소드 설명
__construct ( Illuminate\Http\Request $request ) Webhook constructor.
handlePush ( ) : mixed Parses the request for a push webhook body.
isRequestOrigin ( ) : boolean Determines whether the request is from a particular service.

메소드 상세

__construct() 공개 메소드

Webhook constructor.
public __construct ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

handlePush() 추상적인 공개 메소드

Parses the request for a push webhook body.
abstract public handlePush ( ) : mixed
리턴 mixed Either an array of parameters for the deployment config, or false if it is invalid.

isRequestOrigin() 추상적인 공개 메소드

Determines whether the request is from a particular service.
abstract public isRequestOrigin ( ) : boolean
리턴 boolean

프로퍼티 상세

$request 보호되어 있는 프로퍼티

The HTTP request object.
protected Request,Illuminate\Http $request
리턴 Illuminate\Http\Request