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

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

Set the name of the theme, must be a user frendly name used for displaying it on the UI.
public setName ( string $name ) : Newscoop\Entity\Theme
$name string The name of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.
    public function setName($name)
    {
        Validation::notEmpty($name, 'name');
        $this->name = $name;
        return $this;
    }

Usage Example

Пример #1
0
 public function setName($name)
 {
     $this->__load();
     return parent::setName($name);
 }
All Usage Examples Of Newscoop\Entity\Theme::setName