class WebOptimization implements FilterInterface

A filter to render web-optimized images.

Methods

__construct(string|callable|null $path = null, array $options = array())

No description

apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Details

at line 42
__construct(string|callable|null $path = null, array $options = array())

Parameters

string|callable|null $path
array $options

at line 58
ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Parameters

ImageInterface $image

Return Value

ImageInterface returns the processed ImageInterface instance

See also

FilterInterface::apply