Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Dingo
Api
Routing
Router
options
Dingo\Api\Routing\Router::options PHP 메소드
Router 1 문서
파일 보기
프로젝트 열기: dingo/api
options()
공개
메소드
Create a new OPTIONS route.
public
options
(
string
$uri
,
array
|
string
|
callable
$action
) :
mixed
$uri
string
$action
array
|
string
|
callable
리턴
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