UriNormalizerCache
    
            
            in package
            
        
    
            
            implements
                            CacheInterface                    
    
    
A PSR-16 compliant memory + (optional) sqlite database cache for the UriNormalizer class.
Tags
Table of Contents
Interfaces
- CacheInterface
Properties
Methods
- __construct() : mixed
- clear() : bool
- delete() : bool
- deleteMultiple() : bool
- get() : mixed
- getMultiple() : iterable<string|int, mixed>
- has() : bool
- set() : bool
- setMultiple() : bool
Properties
$memCache
    private
        array<string, mixed>
    $memCache
     = []
    
    
    
$pdo
    private
        PDO
    $pdo
    
    
    
    
Methods
__construct()
    public
                    __construct([string|null $sqliteFile = null ]) : mixed
    Parameters
- $sqliteFile : string|null = null
clear()
    public
                    clear() : bool
    Return values
booldelete()
    public
                    delete(string $key) : bool
    Parameters
- $key : string
Return values
booldeleteMultiple()
    public
                    deleteMultiple(mixed $keys) : bool
    Parameters
- $keys : mixed
Return values
boolget()
    public
                    get(string $key[, mixed $default = null ]) : mixed
    Parameters
- $key : string
- $default : mixed = null
getMultiple()
    public
                    getMultiple(mixed $keys[, mixed $default = null ]) : iterable<string|int, mixed>
    Parameters
- $keys : mixed
- $default : mixed = null
Return values
iterable<string|int, mixed>has()
    public
                    has(string $key) : bool
    Parameters
- $key : string
Return values
boolset()
    public
                    set(string $key, mixed $value[, null|int|DateInterval $ttl = null ]) : bool
    Parameters
- $key : string
- $value : mixed
- $ttl : null|int|DateInterval = null
Return values
boolsetMultiple()
    public
                    setMultiple(iterable<string, mixed> $values[, null|int|DateInterval $ttl = null ]) : bool
    Parameters
- $values : iterable<string, mixed>
- $ttl : null|int|DateInterval = null