diff options
author | 2016-09-05 18:05:19 +0200 | |
---|---|---|
committer | 2016-09-05 18:05:19 +0200 | |
commit | 298dc49c67b9a489190b920b75c95531df5e865a (patch) | |
tree | dad2ecd2e236f80d88d4b292e0be0efde827576b /lib/Cache.php | |
parent | d98bb25de681ca9b4bab97152a4cfff7983d5256 (diff) | |
download | rss-bridge-298dc49c67b9a489190b920b75c95531df5e865a.tar.gz rss-bridge-298dc49c67b9a489190b920b75c95531df5e865a.tar.zst rss-bridge-298dc49c67b9a489190b920b75c95531df5e865a.zip |
[lib] Split Bridge/Cache/Format into one file per class
The files have grown to a size where it is necessary to search
for a class in a file. This commit splits the content into one
file per class. RSS-Bridge will require implementations and
the implementations will require (once) the interfaces.
Diffstat (limited to 'lib/Cache.php')
-rw-r--r-- | lib/Cache.php | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/Cache.php b/lib/Cache.php index a165148d..572b96dc 100644 --- a/lib/Cache.php +++ b/lib/Cache.php @@ -1,25 +1,5 @@ <?php -/** -* All cache logic -* Note : adapter are store in other place -*/ - -interface CacheInterface{ - public function loadData(); - public function saveData($datas); - public function getTime(); -} - -abstract class CacheAbstract implements CacheInterface{ - protected $param; - - public function prepare(array $param){ - $this->param = $param; - - return $this; - } -} - +require_once(__DIR__ . '/CacheInterface.php'); class Cache{ static protected $dirCache; |