summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/Factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/SemanticScuttle/Service/Factory.php')
-rw-r--r--src/SemanticScuttle/Service/Factory.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/SemanticScuttle/Service/Factory.php b/src/SemanticScuttle/Service/Factory.php
index 2461575..a073251 100644
--- a/src/SemanticScuttle/Service/Factory.php
+++ b/src/SemanticScuttle/Service/Factory.php
@@ -134,5 +134,18 @@ class SemanticScuttle_Service_Factory
self::$db = $db;
}
+
+
+ /**
+ * Returns sql database object
+ *
+ * @return void
+ */
+ public static function getDb()
+ {
+ self::loadDb();
+ return self::$db;
+ }
+
}
?>