Newscoop\Services\RelatedArticlesService::createRelatedArticlesBox PHP 메소드

createRelatedArticlesBox() 개인적인 메소드

private createRelatedArticlesBox ( $article )
    private function createRelatedArticlesBox($article)
    {
        $relatedArticlesBox = new RelatedArticles($article->getNumber());
        $this->em->persist($relatedArticlesBox);
        $this->em->flush();
        return $relatedArticlesBox;
    }