public removeSubject ( |
||
$subject | ||
리턴 |
public function removeSubject(Subject $subject)
{
if ($this->subjects->contains($subject)) {
$this->subjects->removeElement($subject);
$subject->removeJournal($this);
}
return $this;
}