Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public getLastMatchedRoute ( ) : |
||
Результат |
public getLastResolvedRoute ( ) : |
||
Результат |
protected initializeRoutesConfiguration ( ) : void | ||
Результат | void |
public setRoutesConfiguration ( array $routesConfiguration = null ) : void | ||
$routesConfiguration | array | The routes configuration or NULL if it should be fetched from configuration |
Результат | void |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
Результат |
protected Route,Neos\Flow\Mvc\Routing $lastMatchedRoute | ||
Результат |
protected Route,Neos\Flow\Mvc\Routing $lastResolvedRoute | ||
Результат |
protected RouterCachingService,Neos\Flow\Mvc\Routing $routerCachingService | ||
Результат |
protected array $routes | ||
Результат | array |
protected array $routesConfiguration | ||
Результат | array |
protected bool $routesCreated | ||
Результат | boolean |