Example #1
0
File: Article.php Project: 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;
 }
Example #2
0
 /**
  * Remove articleAuthors
  *
  * @param ArticleAuthor $articleAuthors
  */
 public function removeArticleAuthor(ArticleAuthor $articleAuthors)
 {
     $this->articleAuthors->removeElement($articleAuthors);
 }