Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
ManaPHP
Mvc
Router
GroupInterface
addOptions
ManaPHP\Mvc\Router\GroupInterface::addOptions PHP 메소드
GroupInterface 0 문서
파일 보기
프로젝트 열기: manaphp/manaphp
addOptions()
공개
메소드
Add a route to the router that only match if the HTTP method is OPTIONS
public
addOptions
(
string
$pattern
,
string
|
array
$paths
= null ) :
ManaPHP\Mvc\Router\RouteInterface
$pattern
string
$paths
string
|
array
리턴
ManaPHP\Mvc\Router\RouteInterface
public function addOptions($pattern, $paths = null);
GroupInterface
add
addDelete
addGet
addHead
addOptions
addPatch
addPost
addPut
match