ApiPlatform\Core\DataProvider\CollectionDataProviderInterface::getCollection PHP Méthode

getCollection() public méthode

Retrieves a collection.
public getCollection ( string $resourceClass, string $operationName = null ) : array | ApiPlatform\Core\DataProvider\PaginatorInterface | Traversable
$resourceClass string
$operationName string
Résultat array | ApiPlatform\Core\DataProvider\PaginatorInterface | Traversable
    public function getCollection(string $resourceClass, string $operationName = null);
CollectionDataProviderInterface