Symfony\Component\Routing\Router::__construct
Constructor.
Signature
public function __construct(LoaderInterface
$loader,
[RequestContext
$resource = null,
[RequestContext
$options = null,
[RequestContext
$context = null,
[LoggerInterface
$logger = null]]]] )
Parameters
$loader
— Symfony\Component\Config\Loader\LoaderInterface- A LoaderInterface instance
$resource
— mixed- The main resource to load
$options
— array- An array of options
$context
— Symfony\Component\Routing\RequestContext- The context
$logger
— Psr\Log\LoggerInterface- A logger instance