Class

eZ\Publish\Core\FieldType\RichText\Normalizer

abstract class Normalizer

Abstract class for XML normalization of string input.

Methods

bool accept(string $input)

Check if normalizer accepts given $input for normalization.

string normalize(string $input)

Normalizes given $input and returns the result.

Details

at line 23
abstract public bool accept(string $input)

Check if normalizer accepts given $input for normalization.

Parameters

string $input

Return Value

bool

at line 32
abstract public string normalize(string $input)

Normalizes given $input and returns the result.

Parameters

string $input

Return Value

string