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

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Routing\RouterInterface $router )
getRouteName ( string $resourceClass, boolean $collection ) : string

Method Details

__construct() public méthode

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

getRouteName() public méthode

public getRouteName ( string $resourceClass, boolean $collection ) : string
$resourceClass string
$collection boolean
Résultat string