add informations to workflow normalization

This commit is contained in:
2022-02-14 20:02:24 +01:00
parent 89d3ab38f0
commit b6c118a0c8
5 changed files with 82 additions and 6 deletions

View File

@@ -15,6 +15,10 @@ use Chill\MainBundle\Entity\Workflow\EntityWorkflow;
interface EntityWorkflowHandlerInterface
{
public function getEntityData(EntityWorkflow $entityWorkflow, array $options = []): array;
public function getEntityTitle(EntityWorkflow $entityWorkflow, array $options = []): string;
public function getRelatedEntity(EntityWorkflow $entityWorkflow): ?object;
/**