PHP Class ApiPlatform\Core\DataProvider\ChainItemDataProvider

Author: Kévin Dunglas ([email protected])
Inheritance: implements ApiPlatform\Core\DataProvider\ItemDataProviderInterface
ファイルを表示 Open project: api-platform/core Class Usage Examples

Public Methods

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

Method Details

__construct() public method

public __construct ( array $dataProviders )
$dataProviders array

getItem() public method

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