public static function supports($from, $to) {
        // This is not a one-liner because of php 5.6.
        $imports = self::$imports;
        $exports = self::$exports;
        return isset($imports[$from]) && isset($exports[$to]);
    }
public static function supports($from, $to) {
        // This is not a one-liner because of php 5.6.
        $imports = self::$imports;
        $exports = self::$exports;
        return isset($imports[$from]) && isset($exports[$to]);
    }
public static function supports ( $ from , $ to ) { // This is not a one-liner because of php 5.6. $ imports = self :: $ imports ; $ exports = self :: $ exports ; return isset ( $ imports [ $ from ] ) && isset ( $ exports [ $ to ] ) ; }
Whether a file conversion can be completed using this converter.

@param   string $from The source type
@param   string $to The destination type
@return  bool
Whether a file conversion can be completed using this converter .