| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 63 | private function setParameters(array &$aParameters)  | 
            ||
| 64 |     { | 
            ||
| 65 |         if (!is_array($aParameters)) { | 
            ||
| 66 |             throw new InvalidArgumentException('The "parameters" key should contain an array. Please check your configuration files.'); | 
            ||
| 67 | }  | 
            ||
| 68 | |||
| 69 |         foreach ($aParameters as $key => $value) { | 
            ||
| 70 | $this->oContainer->setParameter($key, $value);  | 
            ||
| 71 | }  | 
            ||
| 72 | }  | 
            ||
| 73 | }  |