| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function get($id) |
||
| 31 | { |
||
| 32 | try { |
||
| 33 | return $this->container->get($id); |
||
| 34 | } catch (GuzzleNotFoundException $prev) { |
||
| 35 | throw AcclimateNotFoundException::fromPrevious($id, $prev); |
||
| 36 | } catch (\Exception $prev) { |
||
| 37 | throw AcclimateContainerException::fromPrevious($id, $prev); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 46 |