Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Phprest
Application
post
Phprest\Application::post PHP Метод
Документация по классу Application
Показать файл
Открыть проект
post()
публичный
Метод
Add a POST route.
public
post
(
string
$route
,
mixed
$action
) :
void
$route
string
$action
mixed
Результат
void
public function post($route, $action) { $this->getRouter()->addRoute('POST', $route, $action); }
Application
__construct
delete
get
getConfiguration
getEventEmitter
getRouter
handle
head
options
patch
post
put
registerController
registerMiddleware
registerService
run
setErrorHandler
setExceptionDecorator
subscribe
terminate