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

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

Set the version of the theme, this has to be a whell formated version name like '1.3'.
public setVersion ( string $version ) : Newscoop\Entity\Theme
$version string TThe version of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.
    public function setVersion($version)
    {
        Validation::notEmpty($version, 'version');
        $this->version = $version;
        return $this;
    }

Usage Example

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