ConverterManager
extends Manager
Table of Contents
Properties
-
$typeMap
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
driver()
: FileConverterInterface
-
getAllowableTypes()
: array<string|int, string>
-
getDefaultDriver()
: string
-
makeConverter()
: FileConverterInterface|null
-
createNoneDriver()
: mixed
-
getDriver()
: string|null
-
loadConverterDrivers()
: array<int, mixed>
$typeMap
private
array<string|int, mixed>
$typeMap
__construct()
public
__construct(Container $container) : mixed
Parameters
-
$container
: Container
-
driver()
public
driver(string|null $driver) : FileConverterInterface
Parameters
-
$driver
: string|null
-
getAllowableTypes()
public
getAllowableTypes() : array<string|int, string>
Return values
array<string|int, string>
getDefaultDriver()
public
getDefaultDriver() : string
makeConverter()
public
makeConverter(string $mimeType) : FileConverterInterface|null
Parameters
-
$mimeType
: string
-
createNoneDriver()
protected
createNoneDriver() : mixed
getDriver()
protected
getDriver(string $mimeType) : string|null
Parameters
-
$mimeType
: string
-
Return values
string|null
loadConverterDrivers()
protected
loadConverterDrivers() : array<int, mixed>
Return values
array<int, mixed>