diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/SemanticScuttle/Service/Factory.php | 13 |
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; + } + } ?> |