class RedirectionRouter extends Router (View source)

Properties

protected $em
protected $stopwatch
protected bool $preview

Methods

__construct(EntityManager $em, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, Stopwatch $stopwatch = null)

NodeRouter constructor.

getRouteCollection()

[email protected]}

generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)

[email protected]}

UrlMatcherInterface
getMatcher()

Gets the UrlMatcher instance associated with this Router.

null
getGenerator()

No generator for a node router.

Details

__construct(EntityManager $em, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, Stopwatch $stopwatch = null)

NodeRouter constructor.

Parameters

EntityManager $em
array $options
RequestContext $context
LoggerInterface $logger
Stopwatch $stopwatch

getRouteCollection()

[email protected]}

generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)

[email protected]}

Parameters

$name
$parameters
$referenceType

UrlMatcherInterface getMatcher()

Gets the UrlMatcher instance associated with this Router.

Return Value

UrlMatcherInterface A UrlMatcherInterface instance

null getGenerator()

No generator for a node router.

Return Value

null