mirror of
https://github.com/shlinkio/shlink.git
synced 2025-04-02 14:55:37 +03:00
16 lines
407 B
PHP
16 lines
407 B
PHP
<?php
|
|
namespace Shlinkio\Shlink\Common\Service;
|
|
|
|
use Shlinkio\Shlink\Common\Exception\PreviewGenerationException;
|
|
|
|
interface PreviewGeneratorInterface
|
|
{
|
|
/**
|
|
* Generates and stores preview for provided website and returns the path to the image file
|
|
*
|
|
* @param string $url
|
|
* @return string
|
|
* @throws PreviewGenerationException
|
|
*/
|
|
public function generatePreview($url);
|
|
}
|