equivset
Visually Equivalent Set of UTF-8 Characters
|
Equivset. More...
Public Member Functions | |
all () | |
Gets the equivset. | |
normalize (string $value) | |
Normalize a string. | |
isEqual (string $str1, string $str2) | |
Determine if the two strings are visually equal. | |
has (string $key) | |
Determine if an equivalent character exists. | |
get (string $key) | |
Get an equivalent character. | |
Equivset.
Wikimedia\Equivset\EquivsetInterface::all | ( | ) |
Gets the equivset.
Implemented in Wikimedia\Equivset\Equivset.
Wikimedia\Equivset\EquivsetInterface::get | ( | string | $key | ) |
Get an equivalent character.
string | $key | The character that was used. |
LogicException | If character does not exist. |
Implemented in Wikimedia\Equivset\Equivset.
Wikimedia\Equivset\EquivsetInterface::has | ( | string | $key | ) |
Determine if an equivalent character exists.
string | $key | The character that was used. |
Implemented in Wikimedia\Equivset\Equivset.
Wikimedia\Equivset\EquivsetInterface::isEqual | ( | string | $str1, |
string | $str2 ) |
Determine if the two strings are visually equal.
string | $str1 | The first string. |
string | $str2 | The second string. |
Implemented in Wikimedia\Equivset\Equivset.
Wikimedia\Equivset\EquivsetInterface::normalize | ( | string | $value | ) |
Normalize a string.
string | $value | The string to normalize against the equivset. |
Implemented in Wikimedia\Equivset\Equivset.