mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-09 16:53:11 +08:00
Added wkhtmltopdf stuff and created preview generator service
This commit is contained in:
13
module/Common/src/Service/PreviewGeneratorInterface.php
Normal file
13
module/Common/src/Service/PreviewGeneratorInterface.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace Shlinkio\Shlink\Common\Service;
|
||||
|
||||
interface PreviewGeneratorInterface
|
||||
{
|
||||
/**
|
||||
* Generates and stores preview for provided website and returns the path to the image file
|
||||
*
|
||||
* @param string $url
|
||||
* @return string
|
||||
*/
|
||||
public function generatePreview($url);
|
||||
}
|
||||
Reference in New Issue
Block a user