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;
    }
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;
    }
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 ; }
Gets the list of prioritised extractor classes

@return array
Gets the list of prioritised extractor classes