PHP Class REBELinBLUE\Deployer\Http\Webhooks\Github

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

Méthodes publiques

Méthode Description
handlePush ( ) : mixed Parses the request for a push webhook body.
isRequestOrigin ( ) : boolean Determines whether the request was from Github.

Method Details

handlePush() public méthode

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

isRequestOrigin() public méthode

Determines whether the request was from Github.
public isRequestOrigin ( ) : boolean
Résultat boolean