getArticleTypes() public method

Get articleTypes
public getArticleTypes ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection
 /**
  * @param Journal $journal
  */
 private function normalizeSetting(Journal $journal)
 {
     $count = $journal->getArticleTypes()->count();
     if ($count > 0) {
         return;
     }
     foreach ($this->allArticleTypes as $articleType) {
         $journal->addArticleType($articleType);
     }
     $this->em->persist($journal);
 }