| 1 | <?php |
||
| 8 | class Chain implements FilterInterface |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var \Imagine\Filter\FilterInterface[] |
||
| 13 | */ |
||
| 14 | protected $filters; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param \Imagine\Filter\FilterInterface[] $filters |
||
| 18 | * |
||
| 19 | * @throws Exception\InvalidArgumentException |
||
| 20 | */ |
||
| 21 | 3 | public function __construct(array $filters) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritDoc} |
||
| 34 | */ |
||
| 35 | 1 | public function apply(ImageInterface $image) |
|
| 44 | } |
||
| 45 |