Files
shlink/module/Common/src/Service/PreviewGeneratorInterface.php
Alejandro Celaya d2ed7d6417 Increased MSI to 62%
2018-11-17 18:06:21 +01:00

17 lines
400 B
PHP

<?php
declare(strict_types=1);
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
*
* @throws PreviewGenerationException
*/
public function generatePreview(string $url): string;
}