Метод | Описание | |
---|---|---|
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. |
public getOptionsRouteName ( Symfony\Component\Routing\Route $route ) : string | ||
$route | Symfony\Component\Routing\Route | Route |
Результат | string |
public mapRoute ( Symfony\Component\Routing\Route $route ) : Symfony\Component\Routing\Route | ||
$route | Symfony\Component\Routing\Route | Route REST route |
Результат | Symfony\Component\Routing\Route |
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 |