AbstractLayers
abstract class AbstractLayers implements LayersInterface, ClassFactoryAwareInterface
Methods
$this
$this
$this
remove(int $offset)
Removes the image at offset.
get(int $offset)
Returns the image at offset.
bool
has(int $offset)
Returns true if a layer at offset is preset.
$this
getClassFactory()
Get the class factory instance to be used.
Details
at line 30
$this
add(ImageInterface $image)
Adds an image at the end of the layers stack.
at line 42
$this
set(int $offset, ImageInterface $image)
Set an image at offset.
at line 54
$this
remove(int $offset)
Removes the image at offset.
at line 66
ImageInterface
get(int $offset)
Returns the image at offset.
at line 76
bool
has(int $offset)
Returns true if a layer at offset is preset.
at line 86
$this
setClassFactory(ClassFactoryInterface $classFactory)
Set the class factory instance to be used.
at line 98
ClassFactoryInterface
getClassFactory()
Get the class factory instance to be used.