| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 3 | public function __construct(array $filters) |
|
| 22 | { |
||
| 23 | 3 | foreach ($filters as $filter) { |
|
| 24 | 3 | if (!$filter instanceof FilterInterface) { |
|
| 25 | 3 | throw new Exception\InvalidArgumentException('Instance of Imagine\\Filter\\FilterInterface expected'); |
|
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 29 | 2 | $this->filters = $filters; |
|
| 30 | 2 | } |
|
| 31 | |||
| 45 |