Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DAOSerialCache Class Reference

Ubiquity\cache\dao$DAOSerialCache This class is part of Ubiquity. More...

+ Inheritance diagram for DAOSerialCache:

Public Member Functions

 __construct ($cacheSystem=ArrayCache::class, $serializer=PhpSerializer::class)
 
 store ($class, $key, $object)
 
 fetch ($class, $key)
 
 delete ($class, $key)
 
- Public Member Functions inherited from AbstractDAOCache
 optimize ()
 

Protected Member Functions

 getKey ($class, $key)
 

Protected Attributes

 $serializer
 
 $cache
 

Detailed Description

Ubiquity\cache\dao$DAOSerialCache This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 19 of file DAOSerialCache.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $cacheSystem = ArrayCache::class,
  $serializer = PhpSerializer::class 
)

Definition at line 37 of file DAOSerialCache.php.

Member Function Documentation

◆ delete()

delete (   $class,
  $key 
)

Reimplemented from AbstractDAOCache.

Definition at line 58 of file DAOSerialCache.php.

◆ fetch()

fetch (   $class,
  $key 
)

Reimplemented from AbstractDAOCache.

Definition at line 50 of file DAOSerialCache.php.

◆ getKey()

getKey (   $class,
  $key 
)
protected

Definition at line 33 of file DAOSerialCache.php.

◆ store()

store (   $class,
  $key,
  $object 
)

Reimplemented from AbstractDAOCache.

Definition at line 46 of file DAOSerialCache.php.

Field Documentation

◆ $cache

$cache
protected

Definition at line 31 of file DAOSerialCache.php.

◆ $serializer

$serializer
protected

Definition at line 25 of file DAOSerialCache.php.


The documentation for this class was generated from the following file: