PHP Class Cachearium\CacheLogEnum

Author: corollarium
Afficher le fichier Open project: corollarium/cachearium Class Usage Examples

Méthodes publiques

Méthode Description
getAll ( ) : array Returns an array with all enum values.
getName ( string $value ) : string Given a name, returns its value or a string saying it is invalid.
getNames ( )
valid ( string $value ) : boolean Checks if a value is a valid grant

Method Details

getAll() public static méthode

Returns an array with all enum values.
public static getAll ( ) : array
Résultat array

getName() public static méthode

Given a name, returns its value or a string saying it is invalid.
public static getName ( string $value ) : string
$value string
Résultat string

getNames() public static méthode

public static getNames ( )

valid() public static méthode

Checks if a value is a valid grant
public static valid ( string $value ) : boolean
$value string
Résultat boolean true if valid