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