phpDocumentor

FileCacheReader
in package

Class FileCacheReader

Table of Contents

$pathToCacheDirectory  : string
__construct()  : mixed
FileCacheReader constructor.
cacheFileExists()  : bool
getCacheFileContent()  : string
getCacheFilePath()  : string

Properties

Methods

__construct()

FileCacheReader constructor.

public __construct(string $pathToCacheDirectory) : mixed
Parameters
$pathToCacheDirectory : string
Return values
mixed

cacheFileExists()

public cacheFileExists(string $cacheNamespace, string $cacheKey) : bool
Parameters
$cacheNamespace : string
$cacheKey : string
Return values
bool

getCacheFileContent()

public getCacheFileContent(string $cacheNamespace, string $cacheKey) : string
Parameters
$cacheNamespace : string
$cacheKey : string
Return values
string

getCacheFilePath()

private getCacheFilePath(string $cacheNamespace, string $cacheKey) : string
Parameters
$cacheNamespace : string
$cacheKey : string
Return values
string

Search results