Property | Type | Description | |
---|---|---|---|
$configurationManager | |||
$lastMatchedRoute | |||
$lastResolvedRoute | |||
$routerCachingService | |||
$routes | array | Array of routes to match against | |
$routesConfiguration | array | Array containing the configuration for all routes | |
$routesCreated | boolean | TRUE if route object have been created, otherwise FALSE | |
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Method | Description | |
---|---|---|
addRoute ( |
Manually adds a route to the beginning of the configured routes | |
getLastMatchedRoute ( ) : |
Returns the route that has been matched with the last route() call. | |
getLastResolvedRoute ( ) : |
Returns the route that has been resolved with the last resolve() call. | |
getRoutes ( ) : array | Returns a list of configured routes | |
resolve ( array $routeValues ) : string | Builds the corresponding uri (excluding protocol and host) by iterating through all configured routes and calling their respective resolves() method. If no matching route is found, an empty string is returned. | |
route ( |
Iterates through all configured routes and calls matches() on them. | |
setRoutesConfiguration ( array $routesConfiguration = null ) : void | Sets the routes configuration. |
Method | Description | |
---|---|---|
createRoutesFromConfiguration ( ) : void | Creates \Neos\Flow\Mvc\Routing\Route objects from the injected routes configuration. | |
initializeRoutesConfiguration ( ) : void | Checks if a routes configuration was set and otherwise loads the configuration from the configuration manager. |
protected createRoutesFromConfiguration ( ) : void | ||
return | void |
public getLastMatchedRoute ( ) : |
||
return |
public getLastResolvedRoute ( ) : |
||
return |
protected initializeRoutesConfiguration ( ) : void | ||
return | void |
public setRoutesConfiguration ( array $routesConfiguration = null ) : void | ||
$routesConfiguration | array | The routes configuration or NULL if it should be fetched from configuration |
return | void |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
return |
protected Route,Neos\Flow\Mvc\Routing $lastMatchedRoute | ||
return |
protected Route,Neos\Flow\Mvc\Routing $lastResolvedRoute | ||
return |
protected RouterCachingService,Neos\Flow\Mvc\Routing $routerCachingService | ||
return |
protected array $routesConfiguration | ||
return | array |
protected bool $routesCreated | ||
return | boolean |