Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DAOMemoryCache.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\cache\dao
;
4
14
class
DAOMemoryCache
extends
AbstractDAOCache
{
19
protected
$arrayCache
;
20
21
public
function
store
($class, $key, $object) {
22
$this->arrayCache [$class] [$key] = $object;
23
}
24
25
public
function
fetch
($class, $key) {
26
return
$this->arrayCache [$class] [$key] ??
false
;
27
}
28
29
public
function
delete
($class, $key) {
30
if
(isset ( $this->arrayCache [$class] [$key] )) {
31
unset ( $this->arrayCache [$class] [$key] );
32
}
33
}
34
}
35
Ubiquity\cache\dao\AbstractDAOCache
Ubiquity\cache\dao$AbstractDAOCache This class is part of Ubiquity.
Definition
AbstractDAOCache.php:13
Ubiquity\cache\dao\DAOMemoryCache
Simple Memory cache for DAO instances Ubiquity\cache\dao$DAOMemoryCache This class is part of Ubiquit...
Definition
DAOMemoryCache.php:14
Ubiquity\cache\dao\DAOMemoryCache\$arrayCache
$arrayCache
Definition
DAOMemoryCache.php:19
Ubiquity\cache\dao\DAOMemoryCache\store
store($class, $key, $object)
Definition
DAOMemoryCache.php:21
Ubiquity\cache\dao\DAOMemoryCache\fetch
fetch($class, $key)
Definition
DAOMemoryCache.php:25
Ubiquity\cache\dao
Definition
AbstractDAOCache.php:3
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
cache
dao
DAOMemoryCache.php
Generated on Sun Dec 10 2023 15:04:11 for
Ubiquity
by
doxygen
1.9.8