abstract class AbstractImagine implements ImagineInterface

Methods

$this
setMetadataReader(MetadataReaderInterface $metadataReader)

Set the object to be used to read image metadata.

getMetadataReader()

Get the object to be used to read image metadata.

$this
setClassFactory(ClassFactoryInterface $classFactory)

Set the class factory instance to be used.

getClassFactory()

Get the class factory instance to be used.

string
checkPath(string|object $path)

Checks a path that could be used with ImagineInterface::open and returns a proper string.

Details

at line 36
$this setMetadataReader(MetadataReaderInterface $metadataReader)

Set the object to be used to read image metadata.

Parameters

MetadataReaderInterface $metadataReader

Return Value

$this

See also

ImagineInterface::setMetadataReader

at line 48
MetadataReaderInterface getMetadataReader()

Get the object to be used to read image metadata.

at line 62
$this setClassFactory(ClassFactoryInterface $classFactory)

Set the class factory instance to be used.

Parameters

ClassFactoryInterface $classFactory

Return Value

$this

See also

ClassFactoryAwareInterface::setClassFactory

at line 74
ClassFactoryInterface getClassFactory()

Get the class factory instance to be used.

at line 93
protected string checkPath(string|object $path)

Checks a path that could be used with ImagineInterface::open and returns a proper string.

Parameters

string|object $path

Return Value

string

Exceptions

InvalidArgumentException in case the given path is invalid