|
@@ -88,13 +88,6 @@ class Workflow
|
|
|
*/
|
|
|
protected $updated;
|
|
|
|
|
|
- /**
|
|
|
- * @var ArrayCollection
|
|
|
- *
|
|
|
- * @ORM\OneToMany(targetEntity="Action", mappedBy="workflow")
|
|
|
- */
|
|
|
- protected $actions;
|
|
|
-
|
|
|
/**
|
|
|
* @var int
|
|
|
*
|
|
@@ -300,38 +293,6 @@ class Workflow
|
|
|
return $this->updated;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @param Action $action
|
|
|
- *
|
|
|
- * @return Workflow
|
|
|
- */
|
|
|
- public function addAction(Action $action)
|
|
|
- {
|
|
|
- $this->actions[] = $action;
|
|
|
-
|
|
|
- return $this;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * @param Action $action
|
|
|
- *
|
|
|
- * @return Workflow
|
|
|
- */
|
|
|
- public function removeAction(Action $action)
|
|
|
- {
|
|
|
- $this->actions->removeElement($action);
|
|
|
-
|
|
|
- return $this;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * @return Doctrine\Common\Collections\Collection
|
|
|
- */
|
|
|
- public function getActions()
|
|
|
- {
|
|
|
- return $this->actions;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Set tenancyId
|
|
|
*
|