HumHub Documentation (unofficial)

ClassFactory
in package
implements ClassFactoryInterface

The default implementation of Imagine\Factory\ClassFactoryInterface.

Table of Contents

Interfaces

ClassFactoryInterface
The interface that class factories must implement.

Properties

$gdInfo  : array<string|int, mixed>|null

Methods

createBox()  : BoxInterface
Create new BoxInterface instance.
createDrawer()  : DrawerInterface
Create a new DrawerInterface instance.
createEffects()  : EffectsInterface
Create a new EffectsInterface instance.
createFileLoader()  : LoaderInterface
Create a new instance of a file loader.
createFont()  : FontInterface
Create new FontInterface instance.
createImage()  : ImageInterface
Create a new ImageInterface instance.
createLayers()  : LayersInterface
Crate a new instance of a layers interface.
createMetadataReader()  : MetadataReaderInterface
Create a new instance of a metadata reader.
finalize()  : object
Finalize the newly created object.
getGDInfo()  : array<string|int, mixed>

Properties

$gdInfo

private static array<string|int, mixed>|null $gdInfo

Methods

finalize()

Finalize the newly created object.

protected finalize(object $object) : object
Parameters
$object : object
Return values
object

getGDInfo()

protected static getGDInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results