original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Fetch the class for the preferred document converter .