Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
ApiPlatform
Core
DataProvider
ChainItemDataProvider
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