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

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

Set the path of the theme.
public setPath ( string $path ) : Newscoop\Entity\Theme
$path string The path of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.
    public function setPath($path)
    {
        Validation::notEmpty($path, 'path');
        $this->path = str_replace('\\', '/', $path);
        return $this;
    }

Usage Example

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