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