original_string: protected static function get_extractor_classes()
      {
          // Check cache
          if (self::$sorted_extractor_classes) {
              return self::$sorted_extractor_classes;
          }
  
          // Generate the sorted list of extractors on demand.
          $classes = ClassInfo::subclassesFor(__CLASS__);
          array_shift($classes);
          $classPriorities = [];
  
          foreach ($classes as $class) {
              $classPriorities[$class] = Config::inst()->get($class, 'priority');
          }
          arsort($classPriorities);
  
          // Save classes
          $sortedClasses = array_keys($classPriorities);
          return self::$sorted_extractor_classes = $sortedClasses;
      }
code: protected static function get_extractor_classes()
      {
          // Check cache
          if (self::$sorted_extractor_classes) {
              return self::$sorted_extractor_classes;
          }
  
          // Generate the sorted list of extractors on demand.
          $classes = ClassInfo::subclassesFor(__CLASS__);
          array_shift($classes);
          $classPriorities = [];
  
          foreach ($classes as $class) {
              $classPriorities[$class] = Config::inst()->get($class, 'priority');
          }
          arsort($classPriorities);
  
          // Save classes
          $sortedClasses = array_keys($classPriorities);
          return self::$sorted_extractor_classes = $sortedClasses;
      }
code_tokens: protected static function get_extractor_classes ( ) { // Check cache if ( self :: $ sorted_extractor_classes ) { return self :: $ sorted_extractor_classes ; } // Generate the sorted list of extractors on demand. $ classes = ClassInfo :: subclassesFor ( __CLASS__ ) ; array_shift ( $ classes ) ; $ classPriorities = [ ] ; foreach ( $ classes as $ class ) { $ classPriorities [ $ class ] = Config :: inst ( ) -> get ( $ class , 'priority' ) ; } arsort ( $ classPriorities ) ; // Save classes $ sortedClasses = array_keys ( $ classPriorities ) ; return self :: $ sorted_extractor_classes = $ sortedClasses ; }
docstring: Gets the list of prioritised extractor classes
  
  @return array
docstring_tokens: Gets the list of prioritised extractor classes