Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function getSubresource(string $resourceClass, array $identifiers, array $context, string $operationName) |
||
38 | { |
||
39 | foreach ($this->dataProviders as $dataProviders) { |
||
40 | try { |
||
41 | return $dataProviders->getSubresource($resourceClass, $identifiers, $context, $operationName); |
||
42 | } catch (ResourceClassNotSupportedException $e) { |
||
43 | continue; |
||
44 | } |
||
45 | } |
||
46 | } |
||
47 | } |
||
48 |