use httprequest wrapper to automatically check for errors
[phorkie.git] / src / phorkie / Database.php
index 9df6d8cb03729b2359941f8f87812bfb7327b8f8..e9a75a1fc2dd0b98d2829e0be8bd07274351ee4a 100644 (file)
@@ -13,6 +13,10 @@ class Database
         return new Indexer_Elasticsearch();
     }
 
+    public function getSetup()
+    {
+        return new Database_Setup_Elasticsearch();
+    }
 }
 
 ?>