RoutingEnhancerInterface extends EnhancerInterface

Interface for enhancers

Table of Contents

Methods

enhanceForGeneration()  : void
Extends route collection with routes that are relevant for given parameters. Used during URL generation.
enhanceForMatching()  : void
Extends route collection with all routes. Used during URL resolving.
getAspects()  : AspectInterface[]
setAspects()  : void

Methods

enhanceForGeneration()

Extends route collection with routes that are relevant for given parameters. Used during URL generation.

public enhanceForGeneration(RouteCollection $collection, array $parameters) : void
Parameters
$collection : RouteCollection
$parameters : array

enhanceForMatching()

Extends route collection with all routes. Used during URL resolving.

public enhanceForMatching(RouteCollection $collection) : void
Parameters
$collection : RouteCollection
On this page

Search results