aboutsummaryrefslogtreecommitdiff
path: root/lib/CacheAbstract.php
diff options
context:
space:
mode:
authorGravatar logmanoriginal <logmanoriginal@users.noreply.github.com> 2016-09-05 18:05:19 +0200
committerGravatar logmanoriginal <logmanoriginal@users.noreply.github.com> 2016-09-05 18:05:19 +0200
commit298dc49c67b9a489190b920b75c95531df5e865a (patch)
treedad2ecd2e236f80d88d4b292e0be0efde827576b /lib/CacheAbstract.php
parentd98bb25de681ca9b4bab97152a4cfff7983d5256 (diff)
downloadrss-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/CacheAbstract.php')
-rw-r--r--lib/CacheAbstract.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/CacheAbstract.php b/lib/CacheAbstract.php
new file mode 100644
index 00000000..98608b25
--- /dev/null
+++ b/lib/CacheAbstract.php
@@ -0,0 +1,11 @@
+<?php
+require_once(__DIR__ . '/CacheInterface.php');
+abstract class CacheAbstract implements CacheInterface{
+ protected $param;
+
+ public function prepare(array $param){
+ $this->param = $param;
+
+ return $this;
+ }
+}