eZ\Publish\Core\FieldType\RichText\Normalizer\Aggregate::normalize PHP Method

normalize() public method

Normalizes given $input by calling aggregated normalizers.
public normalize ( string $input ) : string
$input string
return string
    public function normalize($input)
    {
        foreach ($this->normalizers as $normalizer) {
            if ($normalizer->accept($input)) {
                $input = $normalizer->normalize($input);
            }
        }
        return $input;
    }