original_string: public function all()
      {
          $list = [];
  
          /** @var UniformResourceLocator $locator */
          $locator = $this->grav['locator'];
  
          $iterator = $locator->getIterator('themes://');
  
          /** @var \DirectoryIterator $directory */
          foreach ($iterator as $directory) {
              if (!$directory->isDir() || $directory->isDot()) {
                  continue;
              }
  
              $theme = $directory->getFilename();
              $result = $this->get($theme);
  
              if ($result) {
                  $list[$theme] = $result;
              }
          }
          ksort($list);
  
          return $list;
      }
code: public function all()
      {
          $list = [];
  
          /** @var UniformResourceLocator $locator */
          $locator = $this->grav['locator'];
  
          $iterator = $locator->getIterator('themes://');
  
          /** @var \DirectoryIterator $directory */
          foreach ($iterator as $directory) {
              if (!$directory->isDir() || $directory->isDot()) {
                  continue;
              }
  
              $theme = $directory->getFilename();
              $result = $this->get($theme);
  
              if ($result) {
                  $list[$theme] = $result;
              }
          }
          ksort($list);
  
          return $list;
      }
code_tokens: public function all ( ) { $ list = [ ] ; /** @var UniformResourceLocator $locator */ $ locator = $ this -> grav [ 'locator' ] ; $ iterator = $ locator -> getIterator ( 'themes://' ) ; /** @var \DirectoryIterator $directory */ foreach ( $ iterator as $ directory ) { if ( ! $ directory -> isDir ( ) || $ directory -> isDot ( ) ) { continue ; } $ theme = $ directory -> getFilename ( ) ; $ result = $ this -> get ( $ theme ) ; if ( $ result ) { $ list [ $ theme ] = $ result ; } } ksort ( $ list ) ; return $ list ; }
docstring: Return list of all theme data with their blueprints.
  
  @return array
docstring_tokens: Return list of all theme data with their blueprints .