mirror of
https://github.com/shlinkio/shlink.git
synced 2026-09-03 19:52:51 -05:00
18 lines
419 B
PHP
18 lines
419 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Common\Service;
|
|
|
|
use Shlinkio\Shlink\Common\Exception\PreviewGenerationException;
|
|
|
|
/** @deprecated */
|
|
interface PreviewGeneratorInterface
|
|
{
|
|
/**
|
|
* Generates and stores preview for provided website and returns the path to the image file
|
|
*
|
|
* @throws PreviewGenerationException
|
|
*/
|
|
public function generatePreview(string $url): string;
|
|
}
|