public function removeCitation(Citation $citation) { if ($this->citations->contains($citation)) { $this->citations->removeElement($citation); $citation->removeArticle($this); } return $this; }