Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | final class ChainItemDataProvider implements ItemDataProviderInterface |
||
24 | { |
||
25 | private $dataProviders; |
||
26 | |||
27 | /** |
||
28 | * @param ItemDataProviderInterface[] $dataProviders |
||
29 | */ |
||
30 | public function __construct(array $dataProviders) |
||
31 | { |
||
32 | $this->dataProviders = $dataProviders; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getItem(string $resourceClass, $id, string $operationName = null, array $context = []) |
||
55 | } |
||
56 | } |
||
57 |