| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function get($id) |
||
| 28 | { |
||
| 29 | // First, let's test if there is a parameter (parameters and services are the same thing in container/interop) |
||
| 30 | if ($this->container->hasParameter($id)) { |
||
| 31 | return $this->container->getParameter($id); |
||
| 32 | } |
||
| 33 | |||
| 34 | return $this->container->get($id); |
||
| 35 | } |
||
| 36 | |||
| 42 |