PHP Interface Kraken\Util\Enum\EnumInterface

Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
getSupported ( ) : mixed[] Return all const defined inside class.
isSupported ( mixed $value ) : boolean Check if Enum class has defined const with given value.

Method Details

getSupported() public static méthode

Return all const defined inside class.
public static getSupported ( ) : mixed[]
Résultat mixed[]

isSupported() public static méthode

Check if Enum class has defined const with given value.
public static isSupported ( mixed $value ) : boolean
$value mixed
Résultat boolean