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