Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Laravel
Lumen
Concerns
RoutesRequests
options
Laravel\Lumen\Concerns\RoutesRequests::options PHP Метод
Документация по трейту RoutesRequests
Показать файл
Открыть проект
options()
публичный
Метод
Register a route with the application.
public
options
(
string
$uri
,
mixed
$action
)
$uri
string
$action
mixed
public function options($uri, $action) { $this->addRoute('OPTIONS', $uri, $action); return $this; }
RoutesRequests
addRoute
callActionOnArrayBasedRoute
callControllerAction
callControllerCallable
callLumenController
callLumenControllerWithMiddleware
callTerminableMiddleware
createDispatcher
delete
dispatch
gatherMiddlewareClassNames
get
getMethod
getPathInfo
getRoutes
group
handle
handleDispatcherResponse
handleFoundRoute
mergeGroupAttributes
mergeMiddlewareGroup
mergeNamespaceGroup
middleware
options
parseAction
parseIncomingRequest
patch
post
prepareResponse
put
routeMiddleware
run
sendThroughPipeline
setDispatcher
shouldSkipMiddleware