From 0f22fe9be0a339a3f06139ee10d7bba46f748993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Wed, 16 Mar 2016 18:41:47 +0100 Subject: [PATCH] Split Table and Map to the separate classes for decoupling --- .idea/coffeetable.iml | 1 + .idea/workspace.xml | 153 +++++++++++++++++++++++++++--------------- src/Coffee/Map.php | 115 +++++++++++++++++++++++++++++++ src/Coffee/Table.php | 115 ++++++------------------------- tests/MapTest.php | 67 ++++++++++++++++++ tests/TableTest.php | 92 ++++++++++--------------- 6 files changed, 335 insertions(+), 208 deletions(-) create mode 100644 src/Coffee/Map.php create mode 100644 tests/MapTest.php diff --git a/.idea/coffeetable.iml b/.idea/coffeetable.iml index 9f1bb8c..aaecbfc 100644 --- a/.idea/coffeetable.iml +++ b/.idea/coffeetable.iml @@ -2,6 +2,7 @@ + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d09b54e..6ba2273 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,10 @@ - + + + + @@ -33,18 +36,38 @@ - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + @@ -53,7 +76,7 @@ - + @@ -63,7 +86,7 @@ - + @@ -83,7 +106,7 @@ - + @@ -126,7 +149,9 @@ @@ -239,6 +264,9 @@ Probable bugsPHP + + SQL + Spelling @@ -267,7 +295,7 @@ - + @@ -359,7 +387,7 @@ - + @@ -469,38 +497,44 @@ - + - + - + - + - + - + - + - + - + - + @@ -508,21 +542,21 @@ - + + + + + - - - - @@ -545,7 +579,8 @@