PHP Class Symfony\Bundle\FrameworkBundle\Routing\Router

Inheritance: extends Symfony\Component\Routing\Router
Exibir arquivo Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $resource, array $options = [], Symfony\Component\Routing\RequestContext $context = null, array $defaults = [] ) Constructor.
getRouteCollection ( )

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $resource, array $options = [], Symfony\Component\Routing\RequestContext $context = null, array $defaults = [] )
$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
$defaults array The default values

getRouteCollection() public method

public getRouteCollection ( )