PHP Класс eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader\RouteCollectionMapper

Merges routes with the same path to a unique one, with the aggregate of merged methods in the _methods default.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$mapper Mapper

Открытые методы

Метод Описание
__construct ( Mapper $mapper )
mapCollection ( RouteCollection $restRouteCollection ) : RouteCollection Iterates over $restRouteCollection, and returns the corresponding RouteCollection of OPTIONS REST routes.

Описание методов

__construct() публичный метод

public __construct ( Mapper $mapper )
$mapper Mapper

mapCollection() публичный метод

Iterates over $restRouteCollection, and returns the corresponding RouteCollection of OPTIONS REST routes.
public mapCollection ( RouteCollection $restRouteCollection ) : RouteCollection
$restRouteCollection Symfony\Component\Routing\RouteCollection
Результат Symfony\Component\Routing\RouteCollection

Описание свойств

$mapper защищенное свойство

protected Mapper,eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader $mapper
Результат Mapper