Method | Description | |
---|---|---|
__toString ( ) : string | Method returning the class name | |
getValidValues ( ) : string[] | Return allowed values | |
valueIsValid ( mixed $value ) : boolean | Return true if value is allowed |
public __toString ( ) : string | ||
return | string | __CLASS__ |
public static getValidValues ( ) : string[] | ||
return | string[] |
public static valueIsValid ( mixed $value ) : boolean | ||
$value | mixed | value |
return | boolean | true|false |