Method | Description | |
---|---|---|
__construct ( Symfony\Component\Routing\RouterInterface $router, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory ) | ||
getCollectionOperationMethod ( string $resourceClass, string $operationName ) : string | ||
getCollectionOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route | ||
getItemOperationMethod ( string $resourceClass, string $operationName ) : string | ||
getItemOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route |
Method | Description | |
---|---|---|
getOperationMethod ( string $resourceClass, string $operationName, boolean $collection ) : string | ||
getOperationRoute ( string $resourceClass, string $operationName, boolean $collection ) : Symfony\Component\Routing\Route | Gets the route related to the given operation. | |
getRoute ( string $routeName ) : Symfony\Component\Routing\Route | Gets the route with the given name. | |
getRouteName ( |
Gets the route name or null if not defined. |
public __construct ( Symfony\Component\Routing\RouterInterface $router, ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface $resourceMetadataFactory ) | ||
$router | Symfony\Component\Routing\RouterInterface | |
$resourceMetadataFactory | ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface |
public getCollectionOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route | ||
$resourceClass | string | |
$operationName | string | |
return | Symfony\Component\Routing\Route |
public getItemOperationRoute ( string $resourceClass, string $operationName ) : Symfony\Component\Routing\Route | ||
$resourceClass | string | |
$operationName | string | |
return | Symfony\Component\Routing\Route |