PHP Class Api\StarterKit\Enums\Enum

Show file Open project: qijitech/api-starter-kit

Public Methods

Method Description
getCode ( $label, $isLower = false )
getKeys ( ) : array
getLabel ( $code, $isLower = false )
getValues ( ) : array
isValidValue ( $value )

Method Details

getCode() public static method

public static getCode ( $label, $isLower = false )

getKeys() public static method

public static getKeys ( ) : array
return array

getLabel() public static method

public static getLabel ( $code, $isLower = false )

getValues() public static method

public static getValues ( ) : array
return array

isValidValue() public static method

public static isValidValue ( $value )