Newscoop\Entity\Output\OutputSettingsTheme::setThemePath PHP Method

setThemePath() public method

Set the path of the theme associated.
public setThemePath ( Resource $themePath ) : Newscoop\Entity\PublicationTheme
$themePath Newscoop\Entity\Resource The path of the theme, must not be null or empty.
return Newscoop\Entity\PublicationTheme This object for chaining purposes.
    public function setThemePath(Resource $themePath)
    {
        Validation::notEmpty($themePath, 'themePath');
        $this->themePath = $themePath;
        return $this;
    }

Usage Example

 public function setThemePath(\Newscoop\Entity\Resource $themePath)
 {
     $this->__load();
     return parent::setThemePath($themePath);
 }
All Usage Examples Of Newscoop\Entity\Output\OutputSettingsTheme::setThemePath