PHP 클래스 eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader\Mapper

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
getOptionsRouteName ( Symfony\Component\Routing\Route $route ) : string Returns the OPTIONS name of a REST route.
mapRoute ( Symfony\Component\Routing\Route $route ) : Symfony\Component\Routing\Route
mergeMethodsDefault ( Symfony\Component\Routing\Route $optionsRoute, Symfony\Component\Routing\Route $restRoute ) : Symfony\Component\Routing\Route Merges the methods from $restRoute into the _method default of $optionsRoute.

메소드 상세

getOptionsRouteName() 공개 메소드

Returns the OPTIONS name of a REST route.
public getOptionsRouteName ( Symfony\Component\Routing\Route $route ) : string
$route Symfony\Component\Routing\Route Route
리턴 string

mapRoute() 공개 메소드

public mapRoute ( Symfony\Component\Routing\Route $route ) : Symfony\Component\Routing\Route
$route Symfony\Component\Routing\Route Route REST route
리턴 Symfony\Component\Routing\Route

mergeMethodsDefault() 공개 메소드

Merges the methods from $restRoute into the _method default of $optionsRoute.
public mergeMethodsDefault ( Symfony\Component\Routing\Route $optionsRoute, Symfony\Component\Routing\Route $restRoute ) : Symfony\Component\Routing\Route
$optionsRoute Symfony\Component\Routing\Route
$restRoute Symfony\Component\Routing\Route
리턴 Symfony\Component\Routing\Route $optionsRoute with the methods from $restRoute in the _methods default