public function createStylesheet()
    {
        if ($this->stylesheet) {
            return $this->stylesheet;
        }
        $stylesheet = new Stylesheet();
        $this->setStylesheet($stylesheet);
        return $this->stylesheet;
    }
public function createStylesheet()
    {
        if ($this->stylesheet) {
            return $this->stylesheet;
        }
        $stylesheet = new Stylesheet();
        $this->setStylesheet($stylesheet);
        return $this->stylesheet;
    }
public function createStylesheet ( ) { if ( $ this -> stylesheet ) { return $ this -> stylesheet ; } $ stylesheet = new Stylesheet ( ) ; $ this -> setStylesheet ( $ stylesheet ) ; return $ this -> stylesheet ; }
Create and assign a new Stylesheet if necessary

@api
@return Stylesheet
Create and assign a new Stylesheet if necessary