Symfony\Bundle\FrameworkBundle\Routing\Router::__construct
Constructor.
Signature
public function __construct(ContainerInterface
$container,
[RequestContext
$resource = null,
[RequestContext
$options = null,
[RequestContext
$context = null]]] )
Parameters
$container
— Symfony\Component\DependencyInjection\ContainerInterface- A ContainerInterface instance
$resource
— mixed- The main resource to load
$options
— array- An array of options
$context
— Symfony\Component\Routing\RequestContext- The context