mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-10 23:39:43 +00:00
Add attachments to workflow
This commit is contained in:
@@ -13,11 +13,25 @@ namespace Chill\DocStoreBundle\GenericDoc\Twig;
|
||||
|
||||
use Chill\DocStoreBundle\GenericDoc\GenericDocDTO;
|
||||
|
||||
/**
|
||||
* Render a generic doc, to display it into a page.
|
||||
*
|
||||
* @template T of array
|
||||
*/
|
||||
interface GenericDocRendererInterface
|
||||
{
|
||||
/**
|
||||
* @param T $options the options defined by the renderer
|
||||
*/
|
||||
public function supports(GenericDocDTO $genericDocDTO, $options = []): bool;
|
||||
|
||||
/**
|
||||
* @param T $options the options defined by the renderer
|
||||
*/
|
||||
public function getTemplate(GenericDocDTO $genericDocDTO, $options = []): string;
|
||||
|
||||
/**
|
||||
* @param T $options the options defined by the renderer
|
||||
*/
|
||||
public function getTemplateData(GenericDocDTO $genericDocDTO, $options = []): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user