mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-16 15:24:26 +00:00
Introduced the ability to render public views for workflows, including new templates, handlers, and metadata support. Updated entity interfaces and translations to enhance the public sharing of workflow documents.
26 lines
687 B
PHP
26 lines
687 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\MainBundle\Workflow;
|
|
|
|
use Chill\MainBundle\Entity\Workflow\EntityWorkflowSend;
|
|
use Chill\MainBundle\Workflow\Templating\EntityWorkflowViewMetadataDTO;
|
|
|
|
interface EntityWorkflowWithPublicViewInterface
|
|
{
|
|
/**
|
|
* Render the public view for EntityWorkflowSend.
|
|
*
|
|
* The public view must be a safe html string
|
|
*/
|
|
public function renderPublicView(EntityWorkflowSend $entityWorkflowSend, EntityWorkflowViewMetadataDTO $metadata): string;
|
|
}
|