FileConverter
interface FileConverter (View source)
Interface providing the public API for file converters, so that FileConverterManager can find and use suitable converters.
Methods
public
bool
supportsConversion(string $fromExtension, string $toExtension, array $options = [])
Checks whether this converter supports a conversion from one file type to another.
Details
bool
supportsConversion(string $fromExtension, string $toExtension, array $options = [])
Checks whether this converter supports a conversion from one file type to another.
DBFile
convert(File $from, string $toExtension, array $options = [])
Converts the given DBFile instance to another file type.