Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Dingo
Api
Routing
Router
options
Dingo\Api\Routing\Router::options PHP Method
Router Class Documentation
Mostrar archivo
Open project: dingo/api
options()
public
method
Create a new OPTIONS route.
public
options
(
string
$uri
,
array
|
string
|
callable
$action
) :
mixed
$uri
string
$action
array
|
string
|
callable
return
mixed
public function options($uri, $action) { return $this->addRoute('OPTIONS', $uri, $action); }
Router
__construct
addControllerMiddlewareToRouteAction
addRoute
any
createRoute
current
currentRouteAction
currentRouteName
currentRouteNamed
currentRouteUses
delete
dispatch
formatArrayBasedOption
formatNamespace
formatPrefix
formatUses
gatherRouteMiddlewares
get
getAdapterRoutes
getCurrentRequest
getCurrentRoute
getLastGroupPrefix
getRoutes
getRoutesDispatched
group
hasDispatchedRoutes
hasGroupStack
is
match
mergeGroup
mergeLastGroupAttributes
options
patch
post
prepareResponse
put
requestIsConditional
resource
resources
setAdapterRoutes
setConditionalRequest
setCurrentRoute
uses
version