protected function get_document_converter_classes($from, $to) {
        $classes = [];

        $converters = $this->get_enabled_plugins();
        foreach ($converters as $plugin => $classname) {
            if (!class_exists($classname)) {
                continue;
            }

            if (!$classname::are_requirements_met()) {
                continue;
            }

            if ($classname::supports($from, $to)) {
                $classes[] = $classname;
            }
        }

        return $classes;
    }
protected function get_document_converter_classes($from, $to) {
        $classes = [];

        $converters = $this->get_enabled_plugins();
        foreach ($converters as $plugin => $classname) {
            if (!class_exists($classname)) {
                continue;
            }

            if (!$classname::are_requirements_met()) {
                continue;
            }

            if ($classname::supports($from, $to)) {
                $classes[] = $classname;
            }
        }

        return $classes;
    }
protected function get_document_converter_classes ( $ from , $ to ) { $ classes = [ ] ; $ converters = $ this -> get_enabled_plugins ( ) ; foreach ( $ converters as $ plugin => $ classname ) { if ( ! class_exists ( $ classname ) ) { continue ; } if ( ! $ classname :: are_requirements_met ( ) ) { continue ; } if ( $ classname :: supports ( $ from , $ to ) ) { $ classes [ ] = $ classname ; } } return $ classes ; }
Fetch the class for the preferred document converter.

@param   string $from The source target file (file extension)
@param   string $to The desired target file format (file extension)
@return  string The class for document conversion
Fetch the class for the preferred document converter .