Class

eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\Imagick\ReduceNoiseFilter

class ReduceNoiseFilter extends AbstractFilter

Methods

__construct(array $options = array())

from AbstractFilter
setOption(string $optionName, mixed $value)

Sets $value for $optionName.

from AbstractFilter
mixed getOption(string $optionName, null|mixed $defaultValue = null)

Returns value for $optionName.

from AbstractFilter
bool hasOption(string $optionName)

Checks if $optionName exists and has a value.

from AbstractFilter
setOptions(array $options)

Replaces inner options by $options.

from AbstractFilter
array getOptions()

Returns all options.

from AbstractFilter
ImageInterface apply(ImageInterface $image)

Details

in AbstractFilter at line 21
public __construct(array $options = array())

Parameters

array $options

in AbstractFilter at line 26
public setOption(string $optionName, mixed $value)

Sets $value for $optionName.

Parameters

string $optionName
mixed $value

in AbstractFilter at line 31
public mixed getOption(string $optionName, null|mixed $defaultValue = null)

Returns value for $optionName.

Defaults to $defaultValue if $optionName doesn't exist.

Parameters

string $optionName
null|mixed $defaultValue

Return Value

mixed

in AbstractFilter at line 36
public bool hasOption(string $optionName)

Checks if $optionName exists and has a value.

Parameters

string $optionName

Return Value

bool

in AbstractFilter at line 41
public setOptions(array $options)

Replaces inner options by $options.

Parameters

array $options

in AbstractFilter at line 46
public array getOptions()

Returns all options.

Return Value

array

at line 21
public ImageInterface apply(ImageInterface $image)

Parameters

ImageInterface $image

Return Value

ImageInterface