| 1 | <?php |
||
| 23 | final class ChainCollectionDataProvider implements CollectionDataProviderInterface |
||
| 24 | { |
||
| 25 | private $dataProviders; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param CollectionDataProviderInterface[] $dataProviders |
||
| 29 | */ |
||
| 30 | public function __construct(array $dataProviders) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getCollection(string $resourceClass, string $operationName = null) |
||
| 54 | } |
||
| 55 |
If you suppress an error, we recommend checking for the error condition explicitly: