PHP Class Api\EnumType\ApiHouseStageEnum

Show file Open project: wsdltophp/packagegenerator

Public Methods

Method Description
__toString ( ) : string Method returning the class name
getValidValues ( ) : string[] Return allowed values
valueIsValid ( mixed $value ) : boolean Return true if value is allowed

Method Details

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

getValidValues() public static method

Return allowed values
public static getValidValues ( ) : string[]
return string[]

valueIsValid() public static method

Return true if value is allowed
public static valueIsValid ( mixed $value ) : boolean
$value mixed value
return boolean true|false