| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php | ||
| 35 | 153 | public function __construct(array $processors) | |
| 36 |     { | ||
| 37 | 153 |         foreach ($processors as $processor) { | |
| 38 | 135 |             if (false === $processor instanceof ProcessorInterface) { | |
| 39 | 3 |                 throw new \InvalidArgumentException('Expected a Nelmio\Alice\ProcessorInterface instance'); | |
| 40 | } | ||
| 41 | 153 | } | |
| 42 | |||
| 43 | 153 | $this->processors = $processors; | |
| 44 | 153 | } | |
| 45 | |||
| 54 |