PHP Interface ApiPlatform\Core\DataProvider\CollectionDataProviderInterface

Author: Kévin Dunglas ([email protected])
ファイルを表示 Open project: api-platform/core

Public Methods

Method Description
getCollection ( string $resourceClass, string $operationName = null ) : array | ApiPlatform\Core\DataProvider\PaginatorInterface | Traversable Retrieves a collection.

Method Details

getCollection() public method

Retrieves a collection.
public getCollection ( string $resourceClass, string $operationName = null ) : array | ApiPlatform\Core\DataProvider\PaginatorInterface | Traversable
$resourceClass string
$operationName string
return array | ApiPlatform\Core\DataProvider\PaginatorInterface | Traversable