original_string: public static function getEditTheme()
      {
          if (self::$editThemeCache !== false) {
              return self::$editThemeCache;
          }
  
          $theme = static::load(static::getEditThemeCode());
  
          if (!File::isDirectory($theme->getPath())) {
              return self::$editThemeCache = null;
          }
  
          return self::$editThemeCache = $theme;
      }
code: public static function getEditTheme()
      {
          if (self::$editThemeCache !== false) {
              return self::$editThemeCache;
          }
  
          $theme = static::load(static::getEditThemeCode());
  
          if (!File::isDirectory($theme->getPath())) {
              return self::$editThemeCache = null;
          }
  
          return self::$editThemeCache = $theme;
      }
code_tokens: public static function getEditTheme ( ) { if ( self :: $ editThemeCache !== false ) { return self :: $ editThemeCache ; } $ theme = static :: load ( static :: getEditThemeCode ( ) ) ; if ( ! File :: isDirectory ( $ theme -> getPath ( ) ) ) { return self :: $ editThemeCache = null ; } return self :: $ editThemeCache = $ theme ; }
docstring: Returns the edit theme.
  @return \Cms\Classes\Theme Returns the loaded theme object.
docstring_tokens: Returns the edit theme .