StringTransform
class StringTransform
Class StringTransform.
Methods
static
string
toAlphanumeric(
string $string)
No description
static
string
toAlphanumericAndDashes(
string $string)
No description
static
string
spacesToDashes(
string $string,
bool $limit = true)
No description
static
string
dashesToSpaces(
string $string,
bool $limit = true)
No description
static
string
toSlug(
string $string,
bool $lower = true)
No description
static
string
toPhoneNumber(
string $string)
No description
static
string
toPhoneNumberFormatted(
string $string,
string $format = '+%COUNTRY% (%NPA%) %CO%-%LINE%')
No description
static
bool
compare(
string $a,
string $b,
string $encoding = 'UTF-8')
No description
static
string[]
split(
string $string)
No description
static
string
camelToSnakeCase(
string $string)
No description
static
string
camelToPascalCase(
string $string)
No description
static
string
pascalToSnakeCase(
string $string)
No description
static
string
pascalToCamelCase(
string $string)
No description
static
string
snakeToCamelCase(
string $string)
No description
static
string
snakeToPascalCase(
string $string)
No description