Documentation

CachePdo
in package
implements CacheInterface

Description of CachePdo

Tags
author

zozlak

Table of Contents

Interfaces

CacheInterface

Properties

$driver  : string
$lockPath  : string
$pdo  : PDO

Methods

__construct()  : mixed
get()  : CacheItem|false
set()  : int
maintainDb()  : void

Properties

Methods

__construct()

public __construct(string $connString[, string|null $cacheId = null ]) : mixed
Parameters
$connString : string
$cacheId : string|null = null

set()

public set(array<string|int, mixed> $keys, string $value, int|null $id) : int
Parameters
$keys : array<string|int, mixed>
$value : string
$id : int|null
Return values
int

maintainDb()

private maintainDb() : void

        
On this page

Search results