예제 #1
0
파일: Article.php 프로젝트: ojs/ojs
 /**
  * Remove articleAuthor
  *
  * @param ArticleAuthor $articleAuthor
  * @return $this
  */
 public function removeArticleAuthor(ArticleAuthor $articleAuthor)
 {
     if ($this->articleAuthors->contains($articleAuthor)) {
         $this->articleAuthors->removeElement($articleAuthor);
     }
     return $this;
 }
예제 #2
0
 /**
  * Remove articleAuthors
  *
  * @param ArticleAuthor $articleAuthors
  */
 public function removeArticleAuthor(ArticleAuthor $articleAuthors)
 {
     $this->articleAuthors->removeElement($articleAuthors);
 }