Symfony\Component\HttpKernel\EventListener\RouterListener::__construct
Constructor.
Signature
public function __construct(UrlMatcherInterface|RequestMatcherInterface
$matcher,
[RequestContext
$context = null,
[LoggerInterface
$logger = null]] )
Parameters
$matcher
— object- The Url or Request matcher
$context
— Symfony\Component\HttpKernel\EventListener\RequestContext|null- The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
$logger
— Symfony\Component\HttpKernel\EventListener\LoggerInterface|null- The logger