PHP Class Cachearium\CacheLogEnum

Author: corollarium
Datei anzeigen Open project: corollarium/cachearium Class Usage Examples

Public Methods

Method 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 method

Returns an array with all enum values.
public static getAll ( ) : array
return array

getName() public static method

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

getNames() public static method

public static getNames ( )

valid() public static method

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