| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3.0416 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 37 | 609 | public function get(...$keys) | |
| 38 |     { | ||
| 39 | // configuration is missed | ||
| 40 | 609 |         if (empty($this->container)) { | |
| 41 |             throw new ConfigException('System configuration is missing'); | ||
| 42 | } | ||
| 43 | |||
| 44 | 609 |         if (!\count($keys)) { | |
| 45 | 2 | return $this->container; | |
| 46 | } | ||
| 47 | |||
| 48 | 608 | return Collection::get($this->container, ...$keys); | |
| 49 | } | ||
| 50 | } | ||
| 51 |