AbstractImagine
in package
implements
ImagineInterface
AbstractYes
Table of Contents
Interfaces
- ImagineInterface
- The imagine interface.
Properties
Methods
- getClassFactory() : ClassFactoryInterface
- Get the class factory instance to be used.
- getMetadataReader() : MetadataReaderInterface
- Get the object to be used to read image metadata.
- setClassFactory() : $this
- Set the class factory instance to be used.
- setMetadataReader() : $this
- Set the object to be used to read image metadata.
- checkPath() : string
- Checks a path that could be used with ImagineInterface::open and returns a proper string.
Properties
$classFactory
private
ClassFactoryInterface
$classFactory
$metadataReader
private
MetadataReaderInterface|null
$metadataReader
Methods
getClassFactory()
Get the class factory instance to be used.
public
getClassFactory() : ClassFactoryInterface
Tags
Return values
ClassFactoryInterfacegetMetadataReader()
Get the object to be used to read image metadata.
public
getMetadataReader() : MetadataReaderInterface
Tags
Return values
MetadataReaderInterfacesetClassFactory()
Set the class factory instance to be used.
public
setClassFactory(ClassFactoryInterface $classFactory) : $this
Parameters
- $classFactory : ClassFactoryInterface
Tags
Return values
$thissetMetadataReader()
Set the object to be used to read image metadata.
public
setMetadataReader(MetadataReaderInterface $metadataReader) : $this
Parameters
- $metadataReader : MetadataReaderInterface
Tags
Return values
$thischeckPath()
Checks a path that could be used with ImagineInterface::open and returns a proper string.
protected
checkPath(string|object $path) : string
Parameters
- $path : string|object