ClassFactory
class ClassFactory implements ClassFactoryInterface
The default implementation of Imagine\Factory\ClassFactoryInterface.
Methods
Create a new instance of a metadata reader.
Create new BoxInterface instance.
Create a new instance of a file loader.
Create a new DrawerInterface instance.
Crate a new instance of a layers interface.
Create a new EffectsInterface instance.
Create a new ImageInterface instance.
Create new FontInterface instance.
Finalize the newly created object.
No description
Details
at line 31
MetadataReaderInterface
createMetadataReader()
Create a new instance of a metadata reader.
at line 41
BoxInterface
createBox(int $width, int $height)
Create new BoxInterface instance.
at line 51
LoaderInterface
createFileLoader(string|mixed $path)
Create a new instance of a file loader.
at line 61
DrawerInterface
createDrawer(string $handle, mixed $resource)
Create a new DrawerInterface instance.
at line 80
LayersInterface
createLayers(string $handle, ImageInterface $image, mixed|null $initialKey = null)
Crate a new instance of a layers interface.
at line 99
EffectsInterface
createEffects(string $handle, mixed $resource)
Create a new EffectsInterface instance.
at line 118
ImageInterface
createImage(string $handle, mixed $resource, PaletteInterface $palette, MetadataBag $metadata)
Create a new ImageInterface instance.
at line 137
FontInterface
createFont(string $handle, string $file, int $size, ColorInterface $color)
Create new FontInterface instance.
at line 166
protected object
finalize(object $object)
Finalize the newly created object.