|
@@ -14,6 +14,8 @@ use Symfony\Component\Console\Output\BufferedOutput;
|
|
|
use WorkflowBundle\Validator\Constraints as WorkflowAssert;
|
|
|
use Symfony\Component\Workflow\Registry;
|
|
|
|
|
|
+use OwnerVoterBundle\Entity\Traits\OwnerTraitInterface;
|
|
|
+use OwnerVoterBundle\Entity\Traits\OwnerTrait;
|
|
|
|
|
|
/**
|
|
|
* Workflow
|
|
@@ -23,8 +25,9 @@ use Symfony\Component\Workflow\Registry;
|
|
|
* @UniqueEntity(fields={"name", "tenancyId"}, message="errors.duplicate_key")
|
|
|
* @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="unique_idx", columns={"name", "tenancy_id"})})
|
|
|
*/
|
|
|
-class Workflow
|
|
|
+class Workflow implements OwnerTraitInterface
|
|
|
{
|
|
|
+ use OwnerTrait;
|
|
|
/**
|
|
|
* @var int
|
|
|
*
|