Méthode | Description | |
---|---|---|
__construct ( string $definition, |
||
getValues ( ) : array | Gets possible enumeration values | |
isValueFromEnum ( mixed $value ) : boolean | Tells wheter given value is from enumeration |
public __construct ( string $definition, |
||
$definition | string | |
$reflection |
public isValueFromEnum ( mixed $value ) : boolean | ||
$value | mixed | |
Résultat | boolean |