setName() public method

Set the name of the article type
public setName ( string $name ) : Newscoop\Entity\ArticleType
$name string The name of the article type, must not be null or empty.
return Newscoop\Entity\ArticleType This object for chaining purposes.
 public function setName($name)
 {
     $this->__load();
     return parent::setName($name);
 }
 /**
  * @see Newscoop\Service\Implementation\ArticleTypeServiceDoctrine::create()
  */
 private function _create($name)
 {
     Validation::notEmpty($name, 'name');
     $artType = new ArticleType();
     $artType->setName($name);
     $em = $this->getEntityManager();
     $em->persist($artType);
     return $artType;
 }