mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 15:53:13 +08:00
19 lines
399 B
PHP
19 lines
399 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\PreviewGenerator\Image;
|
|
|
|
use mikehaertl\wkhtmlto\Image;
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
/** @deprecated */
|
|
class ImageBuilderFactory
|
|
{
|
|
public function __invoke(ContainerInterface $container)
|
|
{
|
|
return new ImageBuilder($container, ['factories' => [
|
|
Image::class => ImageFactory::class,
|
|
]]);
|
|
}
|
|
}
|