PHP Class 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.
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$mapper Mapper

Méthodes publiques

Méthode Description
__construct ( Mapper $mapper )
mapCollection ( RouteCollection $restRouteCollection ) : RouteCollection Iterates over $restRouteCollection, and returns the corresponding RouteCollection of OPTIONS REST routes.

Method Details

__construct() public méthode

public __construct ( Mapper $mapper )
$mapper Mapper

mapCollection() public méthode

Iterates over $restRouteCollection, and returns the corresponding RouteCollection of OPTIONS REST routes.
public mapCollection ( RouteCollection $restRouteCollection ) : RouteCollection
$restRouteCollection Symfony\Component\Routing\RouteCollection
Résultat Symfony\Component\Routing\RouteCollection

Property Details

$mapper protected_oe property

protected Mapper,eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader $mapper
Résultat Mapper