Méthode | 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 | ||
Résultat | string | __CLASS__ |
public static getValidValues ( ) : string[] | ||
Résultat | string[] |
public static valueIsValid ( mixed $value ) : boolean | ||
$value | mixed | value |
Résultat | boolean | true|false |