PHP Class ApiPlatform\Core\DataProvider\ChainItemDataProvider

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\DataProvider\ItemDataProviderInterface
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $dataProviders )
getItem ( string $resourceClass, $id, string $operationName = null, array $context = [] )

Method Details

__construct() public méthode

public __construct ( array $dataProviders )
$dataProviders array

getItem() public méthode

public getItem ( string $resourceClass, $id, string $operationName = null, array $context = [] )
$resourceClass string
$operationName string
$context array