mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
20 lines
400 B
PHP
20 lines
400 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,
|
|
]]);
|
|
}
|
|
}
|