Save
in package
implements
FilterInterface
A save filter.
Table of Contents
Interfaces
- FilterInterface
- Interface for imagine filters.
Properties
Methods
- __construct() : mixed
- Constructs Save filter with given path and options.
- apply() : ImageInterface
- Applies scheduled transformation to an ImageInterface instance.
Properties
$options
private
array<string|int, mixed>
$options
$path
private
string
$path
Methods
__construct()
Constructs Save filter with given path and options.
public
__construct([string $path = null ][, array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $path : string = null
- $options : array<string|int, mixed> = array()
apply()
Applies scheduled transformation to an ImageInterface instance.
public
apply(ImageInterface $image) : ImageInterface
Parameters
- $image : ImageInterface
Tags
Return values
ImageInterface —returns the processed ImageInterface instance