PHP Interface ApiPlatform\Core\Bridge\Symfony\Routing\RouteNameResolverInterface

Author: Teoh Han Hui ([email protected])
Datei anzeigen Open project: api-platform/core

Public Methods

Method Description
getRouteName ( string $resourceClass, boolean $collection ) : string Finds the route name for a resource.

Method Details

getRouteName() public method

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