original_string: public function getThemeAttribute()
      {
          if ($this->themeCache !== null) {
              return $this->themeCache;
          }
  
          $themeName = $this->getDatasourceName()
              ?: static::getDatasourceResolver()->getDefaultDatasource();
  
          return $this->themeCache = Theme::load($themeName);
      }
code: public function getThemeAttribute()
      {
          if ($this->themeCache !== null) {
              return $this->themeCache;
          }
  
          $themeName = $this->getDatasourceName()
              ?: static::getDatasourceResolver()->getDefaultDatasource();
  
          return $this->themeCache = Theme::load($themeName);
      }
code_tokens: public function getThemeAttribute ( ) { if ( $ this -> themeCache !== null ) { return $ this -> themeCache ; } $ themeName = $ this -> getDatasourceName ( ) ? : static :: getDatasourceResolver ( ) -> getDefaultDatasource ( ) ; return $ this -> themeCache = Theme :: load ( $ themeName ) ; }
docstring: Returns the CMS theme this object belongs to.
  @return \Cms\Classes\Theme
docstring_tokens: Returns the CMS theme this object belongs to .