PHP Class Overtrue\PHPLint\Cache

Afficher le fichier Open project: overtrue/phplint Class Usage Examples

Protected Properties

Свойство Type Description
$filename string

Méthodes publiques

Méthode Description
exists ( ) : boolean Check cache exists.
get ( ) : mixed Fetch cache.
getFilename ( ) : string Return cache filename.
isCached ( ) : boolean Alias if exists();.
put ( mixed $contents ) Set cache.

Method Details

exists() public static méthode

Check cache exists.
public static exists ( ) : boolean
Résultat boolean

get() public static méthode

Fetch cache.
public static get ( ) : mixed
Résultat mixed

getFilename() public static méthode

Return cache filename.
public static getFilename ( ) : string
Résultat string

isCached() public static méthode

Alias if exists();.
public static isCached ( ) : boolean
Résultat boolean

put() public static méthode

Set cache.
public static put ( mixed $contents )
$contents mixed

Property Details

$filename protected_oe static_oe property

protected static string $filename
Résultat string