StringStyles
: string
Cases
-
ASCII
= 'ascii'
-
CAMEL
= 'camel'
-
KEBAB
= 'kebab'
-
LOWER
= 'lower'
-
SLUG
= 'slug'
-
SNAKE
= 'snake'
-
TITLE
= 'title'
-
UCFIRST
= 'ucfirst'
-
UCWORDS
= 'ucwords'
-
UPPER
= 'upper'
Methods
-
all()
: array<string|int, string>
-
convert()
: string
-
fromString()
: self
ASCII
CAMEL
KEBAB
LOWER
SLUG
SNAKE
TITLE
UCFIRST
UCWORDS
UPPER
all()
public
static all() : array<string|int, string>
Return values
array<string|int, string>
convert()
public
convert(string $value) : string
Parameters
-
$value
: string
-
fromString()
public
static fromString(string $style) : self
Parameters
-
$style
: string
-
-
throws
-
InvalidArgumentException