Method |
Description |
|
buildAttributes ( array $attributes ) : string |
Returns a string by key="value" pair. |
|
buildQuery ( array $params, string $argSeparator = '&' ) : string |
Generates URL-encoded query string. |
|
highlight ( string $string ) : string |
Highlights a string. |
|
normalize ( string $string, string $replaceChar = '_', string $allowedChars = '' ) : string |
Normalizes a string. |
|
normalizeEncoding ( string $string ) : string |
Normalizes the encoding of a string (UTF8 NFD to NFC). |
|
size ( string $string ) : integer |
Returns the string size in bytes. |
|
split ( string $string ) : array |
Splits a string by spaces
(Strings with quotes will be regarded). |
|
versionCompare ( string $version1, string $version2, string $comparator = null ) : integer | boolean |
Compares two version number strings. |
|
versionSplit ( string $version ) : array |
Splits a version string. |
|
yamlDecode ( string $value ) : array |
Parses YAML into a PHP array. |
|
yamlEncode ( array $value, integer $inline = 3 ) : string |
Returns a string containing the YAML representation of $value. |
|