Cache
in package
FinalYes
Legacy helper for resolving cache directories and cache file names.
Included for historical compatibility only. This API is deprecated and should not be used in new code.
Tags
Table of Contents
Properties
- $loadScript : mixed
- $rootDir : mixed
Methods
- __construct() : mixed
- getFile() : string|null
- getPath() : string
- getURI() : string
- mergeFiles() : string|null
- createName() : string
- sanitizeName() : string
Properties
$loadScript
protected
mixed
$loadScript
= '/getCache.php/'
$rootDir
protected
mixed
$rootDir
Methods
__construct()
public
__construct() : mixed
getFile()
public
getFile(mixed $path) : string|null
Parameters
- $path : mixed
Return values
string|nullgetPath()
public
getPath(mixed $uri[, mixed $cacheDir = '' ]) : string
Parameters
- $uri : mixed
- $cacheDir : mixed = ''
Return values
stringgetURI()
public
getURI(mixed $uri[, mixed $cacheDir = '' ]) : string
Parameters
- $uri : mixed
- $cacheDir : mixed = ''
Return values
stringmergeFiles()
public
mergeFiles(array<string|int, mixed> $fileList[, mixed $targetDir = '' ][, mixed $zipFunction = null ]) : string|null
Parameters
- $fileList : array<string|int, mixed>
- $targetDir : mixed = ''
- $zipFunction : mixed = null
Return values
string|nullcreateName()
protected
createName(array<string|int, mixed> $names) : string
Parameters
- $names : array<string|int, mixed>
Return values
stringsanitizeName()
protected
sanitizeName(mixed $path) : string
Parameters
- $path : mixed