StringStyles
: string
Cases
-
CAMEL
= 'camel'
-
KEBAB
= 'kebab'
-
LOWER
= 'lower'
-
SNAKE
= 'snake'
-
TITLE
= 'title'
-
UPPER
= 'upper'
Methods
-
all()
: array<string|int, string>
-
convert()
: string
-
fromString()
: self
CAMEL
KEBAB
LOWER
SNAKE
TITLE
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