[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.
This commit is contained in:
logmanoriginal 2016-09-05 18:05:19 +02:00
parent d98bb25de6
commit 298dc49c67
12 changed files with 796 additions and 793 deletions

View file

@ -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;