addAuthorToArticle()
공개 메소드
Add author with type to article
public addAuthorToArticle ( Article $article, Author $author, AuthorType $authorType ) : ArticleAuthor |
$article |
Newscoop\Entity\Article |
|
$author |
Newscoop\Entity\Author |
|
$authorType |
Newscoop\Entity\AuthorType |
|
리턴 |
Newscoop\Entity\ArticleAuthor |
|
removeAuthorFromArticle()
공개 메소드
Remove author with type from article
public removeAuthorFromArticle ( Article $article, Author $author, AuthorType $authorType ) : ArticleAuthor |
$article |
Newscoop\Entity\Article |
|
$author |
Newscoop\Entity\Author |
|
$authorType |
Newscoop\Entity\AuthorType |
|
리턴 |
Newscoop\Entity\ArticleAuthor |
|