Property | Type | Description | |
---|---|---|---|
$baseDir | string |
Method | Description | |
---|---|---|
__construct ( string $baseDir ) | File constructor. | |
delete ( string $key ) : boolean | Delete a cache entry | |
get ( string $key ) : null | mixed | Get a cache entry | |
getRelativeHash ( string $preHash, boolean $asString = false ) : string | array | Get a relative BLAKE2b hash of an input. Formatted as two lookup directories followed by a cache entry. 'hh/hh/hhhhhhhh. | |
set ( string $key, $value ) : boolean | Set a cache entry |
Method | Description | |
---|---|---|
getRelativePath ( string $key ) : string | Get the relative path |
public __construct ( string $baseDir ) | ||
$baseDir | string | The base directory |
protected getRelativePath ( string $key ) : string | ||
$key | string | |
return | string |