Added wkhtmltopdf stuff and created preview generator service

This commit is contained in:
Alejandro Celaya
2016-08-18 10:19:33 +02:00
parent 20e43aac90
commit 26adf48b48
8 changed files with 180 additions and 3 deletions

View 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);
}