Hoa central
Backend.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Cache\Backend;
38 
39 use Hoa\Cache;
40 use Hoa\Core;
41 
51 abstract class Backend extends Cache
52 {
59  abstract public function store($data);
60 
66  abstract public function load();
67 
74  abstract public function clean($lifetime = Cache::CLEAN_EXPIRED);
75 
81  abstract public function remove();
82 }
83 
87 Core\Consistency::flexEntity('Hoa\Cache\Backend\Backend');
const CLEAN_EXPIRED
Definition: Cache.php:62
clean($lifetime=Cache::CLEAN_EXPIRED)