AbstractImage
abstract class AbstractImage implements ImageInterface, ClassFactoryAwareInterface
Properties
protected MetadataBag | $metadata |
Methods
Generates a thumbnail from a current image Returns it as a new image, doesn't modify the current image.
Get all the available thumbnail modes.
Updates a given array of save options for backward compatibility with legacy names.
Returns the Image's meta data.
Clones all the resources associated to this instance.
Get the class factory instance to be used.
Details
at line 36
ManipulatorInterface
thumbnail(BoxInterface $size, int|string $settings = ImageInterface::THUMBNAIL_INSET, string $filter = ImageInterface::FILTER_UNDEFINED)
Generates a thumbnail from a current image Returns it as a new image, doesn't modify the current image.
at line 144
protected int[]
getAllThumbnailModes()
Get all the available thumbnail modes.
at line 159
protected array
updateSaveOptions(array $options)
Updates a given array of save options for backward compatibility with legacy names.
at line 174
MetadataBag
metadata()
Returns the Image's meta data.
at line 182
__clone()
Clones all the resources associated to this instance.
at line 194
ClassFactoryInterface
getClassFactory()
Get the class factory instance to be used.
at line 208
$this
setClassFactory(ClassFactoryInterface $classFactory)
Set the class factory instance to be used.