Class

eZ\Publish\Core\FieldType\RichText\Normalizer\Aggregate

class Aggregate extends Normalizer

Aggregate normalizer converts using configured normalizers in prioritized order.

Methods

bool accept(string $input)

Check if normalizer accepts given $input for normalization.

string normalize(string $input)

Normalizes given $input by calling aggregated normalizers.

__construct(array $normalizers = array())

Details

at line 42
public bool accept(string $input)

Check if normalizer accepts given $input for normalization.

This implementation always returns true.

Parameters

string $input

Return Value

bool

at line 54
public string normalize(string $input)

Normalizes given $input by calling aggregated normalizers.

Parameters

string $input

Return Value

string

at line 28
public __construct(array $normalizers = array())

Parameters

array $normalizers An array of Normalizers, sorted by priority