Browse Source

changed LuDatabaseProvider to interface

develop
Robin Thoni 8 years ago
parent
commit
3e14a5f9c3

+ 1
- 1
src/Utils/DataAccess/LuDataAccess.php View File

@@ -10,7 +10,7 @@ use Luticate\Utils\Business\LuStringUtils;
10 10
 use Luticate\Utils\Dbo\LuDbo;
11 11
 use Luticate\Utils\Dbo\LuPaginatedDbo;
12 12
 
13
-abstract class LuDataAccess extends LuDatabaseProvider {
13
+abstract class LuDataAccess implements LuDatabaseProvider {
14 14
 
15 15
     protected static $_connection = "mydb";
16 16
     protected static $_table = "mydb_table";

+ 2
- 5
src/Utils/DataAccess/LuDatabaseProvider.php View File

@@ -8,10 +8,7 @@
8 8
 
9 9
 namespace Luticate\Utils\DataAccess;
10 10
 
11
-
12
-abstract class LuDatabaseProvider
11
+interface LuDatabaseProvider
13 12
 {
14
-    public static function setupDatabases($databases)
15
-    {
16
-    }
13
+    public static function setupDatabases($databases);
17 14
 }

Loading…
Cancel
Save