예제 #1
0
파일: Journal.php 프로젝트: beyzakokcan/ojs
 /**
  * Add issue
  *
  * @param  Issue $issue
  * @return Journal
  */
 public function addIssue(Issue $issue)
 {
     if (!$this->issues->contains($issue)) {
         $this->issues->add($issue);
         $issue->setJournal($this);
     }
     return $this;
 }
예제 #2
0
 /**
  * Remove assignedIssue
  *
  * @param \Tracker\IssueBundle\Entity\Issue $assignedIssue
  */
 public function removeAssignedIssue(\Tracker\IssueBundle\Entity\Issue $assignedIssue)
 {
     $this->assignedIssue->removeElement($assignedIssue);
 }