Méthode | Description | |
---|---|---|
__construct ( ApiPlatform\Core\DataProvider\CollectionDataProviderInterface $collectionDataProvider, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider ) | ||
onKernelRequest ( |
Calls the data provider and sets the data attribute. |
Méthode | Description | |
---|---|---|
getCollectionData ( |
Retrieves data for a collection operation. | |
getItemData ( |
Gets data for an item operation. |
public __construct ( ApiPlatform\Core\DataProvider\CollectionDataProviderInterface $collectionDataProvider, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider ) | ||
$collectionDataProvider | ApiPlatform\Core\DataProvider\CollectionDataProviderInterface | |
$itemDataProvider | ApiPlatform\Core\DataProvider\ItemDataProviderInterface |
public onKernelRequest ( |
||
$event |