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()  : array<string|int, 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<string|int, mixed> $parameters) : void
Parameters
$collection : RouteCollection
$parameters : array<string|int, mixed>

enhanceForMatching()

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

public enhanceForMatching(RouteCollection $collection) : void
Parameters
$collection : RouteCollection

        
On this page

Search results