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
Phprest
Application
put
Phprest\Application::put PHP Method
Application Class Documentation
Show file
Open project: phprest/phprest
put()
public
method
Add a PUT route.
public
put
(
string
$route
,
mixed
$action
) :
void
$route
string
$action
mixed
return
void
public function put($route, $action) { $this->getRouter()->addRoute('PUT', $route, $action); }
Application
__construct
delete
get
getConfiguration
getEventEmitter
getRouter
handle
head
options
patch
post
put
registerController
registerMiddleware
registerService
run
setErrorHandler
setExceptionDecorator
subscribe
terminate