PHP Class ApiPlatform\Core\Bridge\Symfony\Routing\Router

Kévin Dunglas
Inheritance: implements Symfony\Component\Routing\RouterInterface, implements ApiPlatform\Core\Api\UrlGeneratorInterface
Datei anzeigen Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Routing\RouterInterface $router )
generate ( $name, $parameters = [], $referenceType = self::ABS_PATH )
getContext ( )
getRouteCollection ( )
match ( $pathInfo )
setContext ( Symfony\Component\Routing\RequestContext $context )

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $router )
$router Symfony\Component\Routing\RouterInterface

generate() public method

public generate ( $name, $parameters = [], $referenceType = self::ABS_PATH )

getContext() public method

public getContext ( )

getRouteCollection() public method

public getRouteCollection ( )

match() public method

public match ( $pathInfo )

setContext() public method

public setContext ( Symfony\Component\Routing\RequestContext $context )
$context Symfony\Component\Routing\RequestContext