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
Webiny
Component
Http
Request
isPatch
Webiny\Component\Http\Request::isPatch PHP Method
Request Class Documentation
Show file
Open project: Webiny/Framework
isPatch()
public
method
Checks if current request method is PATCH.
public
isPatch
( ) :
boolean
return
boolean
True if it's PATCH.
public function isPatch() { return $this->str($this->server()->requestMethod())->equals('PATCH'); }
Request
env
files
getClientIp
getConnectionPort
getCurrentUrl
getHostName
getPayload
getPost
getQuery
getRequestMethod
getTrustedHeaders
getTrustedProxies
header
init
isDelete
isGet
isPatch
isPost
isPut
isRequestSecured
payload
post
query
server
setCurrentUrl
setRequestMethod