public function getScript($createIfEmpty = true)
    {
        if (!$this->script && $createIfEmpty) {
            return $this->createScript();
        }
        return $this->script;
    }
public function getScript($createIfEmpty = true)
    {
        if (!$this->script && $createIfEmpty) {
            return $this->createScript();
        }
        return $this->script;
    }
public function getScript ( $ createIfEmpty = true ) { if ( ! $ this -> script && $ createIfEmpty ) { return $ this -> createScript ( ) ; } return $ this -> script ; }
Get the Script

@api
@param bool $createIfEmpty (optional) Create the script if it's not set yet
@return Script
Get the Script