From 7648a29c4ddb20547aed609b8d8f0946779335da Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 30 Nov 2014 10:58:41 +0100 Subject: [PATCH] Storage: abstract class, initial implementation --- library/Bpapp/Storage/Storage.php | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 library/Bpapp/Storage/Storage.php diff --git a/library/Bpapp/Storage/Storage.php b/library/Bpapp/Storage/Storage.php new file mode 100644 index 0000000..fcacb85 --- /dev/null +++ b/library/Bpapp/Storage/Storage.php @@ -0,0 +1,35 @@ +config = $config; + $this->init(); + } + + protected function init() + { + } + + /** + * @return array + */ + abstract public function listProcesses(); + + /** + * @return BusinessProcess + */ + abstract public function loadProcess($name); + + /** + */ + abstract public function storeProcess(BusinessProcess $name); +}