This class is implementing the design pattern "Factory" in order to manage the creation of Loaders.
getAdapter(string $mimetype) : \ILoader
access | public |
---|
string
type the type of loader needed
\UnexpectedValueException |
if the type is not registered |
---|
\ILoader
an object of Loader type