\Pop\Image\FactoryImageFactoryInterface

Factory interface

Summary

Methods
Constants
load()
create()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

load()

load(string  $image) : mixed

Load an existing image as a resource and return the image object

Parameters

string $image

Returns

mixed

create()

create(integer  $width, integer  $height, string  $image = null) : mixed

Create a new image resource and return the image object

Parameters

integer $width
integer $height
string $image

Returns

mixed