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

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

Set the name of the theme resource, must be a user frendly name used for displaying it on the UI.
public setName ( string $name ) : Newscoop\Entity\Theme\Resource
$name string The name of the theme resource, must not be null or empty.
Результат Newscoop\Entity\Theme\Resource 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);
 }