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

Author: Teoh Han Hui ([email protected])
Inheritance: extends ApiPlatform\Core\Api\OperationMethodResolverInterface
Show file Open project: api-platform/core

Public Methods

Method Description
getCollectionOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route
getItemOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route

Method Details

getCollectionOperationRoute() public method

public getCollectionOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route
$resourceClass string
$operationName string
return Symfony\Component\Routing\Route

getItemOperationRoute() public method

public getItemOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route
$resourceClass string
$operationName string
return Symfony\Component\Routing\Route