Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
REBELinBLUE
Deployer
Http
Webhooks
Github
isRequestOrigin
REBELinBLUE\Deployer\Http\Webhooks\Github::isRequestOrigin PHP Method
Github Class Documentation
Show file
Open project: rebelinblue/deployer
isRequestOrigin()
public
method
Determines whether the request was from Github.
public
isRequestOrigin
( ) :
boolean
return
boolean
public function isRequestOrigin() { return $this->request->headers->has('X-GitHub-Event'); }
Github
handlePush
isRequestOrigin