Civil Date PHP Package

PersianTextNormalizer
in package
implements TextNormalizer

Normalizes Persian localized text and Arabic character variants.

Table of Contents

Interfaces

TextNormalizer
Normalizes localized text for comparison and parsing.

Methods

normalize()  : string
Normalizes Persian text for locale lookups.

Methods

normalize()

Normalizes Persian text for locale lookups.

public normalize(string $text) : string
Parameters
$text : string

Text to normalize.

Return values
string

Text with Persian character forms and no Arabic diacritics.

On this page

Search results