Newscoop\Entity\ArticleType::setName PHP Метод

setName() публичный Метод

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.
Результат Newscoop\Entity\ArticleType This object for chaining purposes.
    public function setName($name)
    {
        Validation::notEmpty($name, 'name');
        $this->name = $name;
        return $this;
    }

Usage Example

 public function setName($name)
 {
     $this->__load();
     return parent::setName($name);
 }
All Usage Examples Of Newscoop\Entity\ArticleType::setName