ImageAdapter
in package
implements
IImageAdapter
Base adapter implementation to handle image manipulation.
Interfaces, Classes, Traits and Enums
- IImageAdapter
- Basic interface for all image adapters.
Table of Contents
- $resource : mixed
- The image resource handler.
- destroy() : mixed
- Destroys the image.
- getResource() : resource
- Get the raw resource.
- load() : mixed
- Loads an image resource.
Properties
$resource
The image resource handler.
protected
mixed
$resource
Methods
destroy()
Destroys the image.
public
destroy() : mixed
Return values
mixed —getResource()
Get the raw resource.
public
getResource() : resource
Return values
resource —load()
Loads an image resource.
public
load(mixed $resource) : mixed
Parameters
- $resource : mixed