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