PHP Class REBELinBLUE\Deployer\Http\Webhooks\Custom

Inheritance: extends Webhook
Show file Open project: rebelinblue/deployer

Public Methods

Method Description
handlePush ( ) : mixed Parses the request for a webhook body.
isRequestOrigin ( ) : boolean Determines whether the request was for the Custom webhook.

Method Details

handlePush() public method

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

isRequestOrigin() public method

Determines whether the request was for the Custom webhook.
public isRequestOrigin ( ) : boolean
return boolean