CommandEnum
Table of Contents
-
$enumName
: string
-
$enumValues
: array<string|int, mixed>
-
__construct()
: mixed
-
getName()
: string
-
getValues()
: array<string|int, string>
$enumName
private
string
$enumName
$enumValues
private
array<string|int, mixed>
$enumValues
= []
-
phpstan-var
-
__construct()
public
__construct(string $enumName, array<string|int, string> $enumValues) : mixed
Parameters
-
$enumName
: string
-
-
$enumValues
: array<string|int, string>
-
-
phpstan-param
-
Return values
mixed
—
getName()
public
getName() : string
Return values
string
—
getValues()
public
getValues() : array<string|int, string>
-
phpstan-return
-
Return values
array<string|int, string>
—