\Fubber\DbCache

Cache that uses the database as a backend. Should perform quite well for a small site.

Summary

Methods
Properties
Constants
__construct()
get()
set()
No public properties found
No constants found
No protected methods found
$_db
N/A
No private methods found
No private properties found
N/A

Properties

$_db

$_db : 

Type

Methods

__construct()

__construct(\Fubber\Db\PdoDb  $db) 

Parameters

\Fubber\Db\PdoDb $db

get()

get(  $name) : mixed|null

Get a key

Parameters

$name

Returns

mixed|null

set()

set(  $name,   $val,   $ttl) : $this

Set a key

Parameters

$name
$val
$ttl

Returns

$this