mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 05:26:13 +00:00
For reusability an AbstractStoredObjectVoter was created and a StoredObjectVoterInterface. A WorkflowDocumentService checks whether the StoredObject is involved in a workflow.
11 lines
245 B
PHP
11 lines
245 B
PHP
<?php
|
|
|
|
namespace Chill\DocStoreBundle\Repository;
|
|
|
|
use Chill\DocStoreBundle\Entity\StoredObject;
|
|
|
|
interface AssociatedEntityToStoredObjectInterface
|
|
{
|
|
public function findAssociatedEntityToStoredObject(StoredObject $storedObject): ?object;
|
|
}
|