ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface::getRouteName PHP Method

getRouteName() public method

Finds the route name for a resource.
public getRouteName ( string $resourceClass, boolean $collection ) : string
$resourceClass string
$collection boolean
return string
    public function getRouteName(string $resourceClass, bool $collection) : string;
RouteNameResolverInterface