/** * Remove articleFiles * * @param ArticleFile $articleFile */ public function removeArticleFile(ArticleFile $articleFile) { if ($this->articleFiles->contains($articleFile)) { $this->articleFiles->removeElement($articleFile); } }
/** * Remove submissionFiles * * @param SubmissionFile $articleFile */ public function removeSubmissionFile(SubmissionFile $articleFile) { if ($this->submissionFiles->contains($articleFile)) { $this->submissionFiles->removeElement($articleFile); } }