‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Routing\Enhancer\RoutingEnhancerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Routing\Enhancer\RoutingEnhancerInterface:
TYPO3\CMS\Core\Routing\Enhancer\EnhancerInterface TYPO3\CMS\Core\Routing\Enhancer\PluginEnhancer TYPO3\CMS\Core\Routing\Enhancer\SimpleEnhancer TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer

Public Member Functions

 enhanceForMatching (RouteCollection $collection)
 
 enhanceForGeneration (RouteCollection $collection, array $parameters)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Routing\Enhancer\EnhancerInterface
 setAspects (array $aspects)
 
AspectInterface[] getAspects ()
 

Detailed Description

Interface for enhancers

Definition at line 25 of file RoutingEnhancerInterface.php.

Member Function Documentation

◆ enhanceForGeneration()

TYPO3\CMS\Core\Routing\Enhancer\RoutingEnhancerInterface::enhanceForGeneration ( RouteCollection  $collection,
array  $parameters 
)

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

Implemented in TYPO3\CMS\Core\Routing\Enhancer\PluginEnhancer, TYPO3\CMS\Core\Routing\Enhancer\SimpleEnhancer, and TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer.

◆ enhanceForMatching()

TYPO3\CMS\Core\Routing\Enhancer\RoutingEnhancerInterface::enhanceForMatching ( RouteCollection  $collection)

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

Implemented in TYPO3\CMS\Core\Routing\Enhancer\PluginEnhancer, TYPO3\CMS\Core\Routing\Enhancer\SimpleEnhancer, and TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer.