Преглед изворни кода

Se quita $actions del workflow.

Maximiliano Schvindt пре 8 година
родитељ
комит
a3ea2e3897
1 измењених фајлова са 0 додато и 39 уклоњено
  1. 0 39
      Entity/Workflow.php

+ 0 - 39
Entity/Workflow.php

@@ -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
      *