메소드 | 설명 | |
---|---|---|
__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 | |
리턴 | boolean |