Newscoop\Service\IArticleTypeService::findTypeByName PHP Method

findTypeByName() public method

Find one article type by name
public findTypeByName ( string $name ) : ArticleType | null
$name string
return Newscoop\Entity\ArticleType | null returns null if not found!
    public function findTypeByName($name);