Added namespaces
/trunk/Application.php |
---|
1,5 → 1,7 |
<?php |
namespace PointedEars\PHPX; |
require_once __DIR__ . '/AbstractModel.php'; |
require_once __DIR__ . '/Registry.php'; |
179,7 → 181,7 |
* @return string Registry key |
* @see Application::setDefaultDatabase() |
*/ |
public function registerDatabase ($key, Database $database) |
public function registerDatabase ($key, Db\Database $database) |
{ |
Registry::set($key, $database); |
return $key; |