public static function getSupportedExtensions($extension)
    {
        foreach (static::$_registry as $registered) {
            if (in_array($extension, (array) $registered['extensions'])) {
                return $registered['extensions'];
            }
        }

        throw new ErrorException("The following extension is not handled: {$extension}");
    }
public static function getSupportedExtensions($extension)
    {
        foreach (static::$_registry as $registered) {
            if (in_array($extension, (array) $registered['extensions'])) {
                return $registered['extensions'];
            }
        }

        throw new ErrorException("The following extension is not handled: {$extension}");
    }
public static function getSupportedExtensions ( $ extension ) { foreach ( static :: $ _registry as $ registered ) { if ( in_array ( $ extension , ( array ) $ registered [ 'extensions' ] ) ) { return $ registered [ 'extensions' ] ; } } throw new ErrorException ( "The following extension is not handled: {$extension}" ) ; }
Get Supported Extensions

@param string $extension

@return array

@throws ErrorException
Get Supported Extensions