| 1 | <?php |
||
| 2 | |||
| 3 | namespace Rvdlee\ZfImageOptimiser\Factory\Adapter; |
||
| 4 | |||
| 5 | use Interop\Container\ContainerInterface; |
||
| 6 | use Rvdlee\ZfImageOptimiser\Adapter\Pngquant2; |
||
| 7 | |||
| 8 | class Pngquant2Factory extends AbstractImageOptimiserFactory |
||
| 9 | { |
||
| 10 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
||
| 11 | { |
||
| 12 | /** @var array $args */ |
||
| 13 | $args = parent::__invoke($container, $requestedName, $options); |
||
| 14 | |||
| 15 | return new Pngquant2(...$args); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 16 | } |
||
| 17 | } |