public __construct ( ApiPlatform\Core\DataProvider\CollectionDataProviderInterface $collectionDataProvider, ApiPlatform\Core\DataProvider\ItemDataProviderInterface $itemDataProvider ) | ||
$collectionDataProvider | ApiPlatform\Core\DataProvider\CollectionDataProviderInterface | |
$itemDataProvider | ApiPlatform\Core\DataProvider\ItemDataProviderInterface |
public function __construct(CollectionDataProviderInterface $collectionDataProvider, ItemDataProviderInterface $itemDataProvider)
{
$this->collectionDataProvider = $collectionDataProvider;
$this->itemDataProvider = $itemDataProvider;
}