Interface RouterInterface

Direct known implementers

Concrete\Core\Routing\Router

Methods summary

public Symfony\Component\Routing\RequestContext
# getContext( )

Get the context that the router is running in

public
# setContext( Symfony\Component\Routing\RequestContext $context )
public Symfony\Component\Routing\Generator\UrlGeneratorInterface
# getGenerator( )
public
# setGenerator( Symfony\Component\Routing\Generator\UrlGeneratorInterface $generator )
public
# getList( )
public
# setRequest( Request $req )
public Symfony\Component\Routing\Route
# register( string $path, Closure|string $callback, string|null $handle = null, array $requirements = array(), array $options = array(), string $host = '', array|string $schemes = array(), array|string $methods = array(), string $condition = null )

Register a symfony route with as little as a path and a callback.

public
# registerMultiple( array $routes )
public
# execute( Concrete\Core\Routing\Route $route, $parameters )
public
# setThemeByRoute( $path, $theme = null, $wrapper = FILENAME_THEMES_VIEW )

Used by the theme_paths and site_theme_paths files in config/ to hard coded certain paths to various themes

public
# setThemesbyRoutes( array $routes )
public string|boolean
# getThemeByRoute( string $path )

This grabs the theme for a particular path, if one exists in the themePaths array

public
# route( $data )