testing database.

This commit is contained in:
Taylor Otwell
2011-09-15 23:03:47 -05:00
parent 4167a2953c
commit 917d4cb1e4
3 changed files with 108 additions and 4 deletions

View File

@@ -15,7 +15,10 @@ class Manager {
* @param array $config
* @return void
*/
public function __construct($config) { $this->config = $config; }
public function __construct($config)
{
$this->config = $config;
}
/**
* Get a database connection.
@@ -25,8 +28,8 @@ class Manager {
*
* Note: Database connections are managed as singletons.
*
* @param string $connection
* @return Database\Connection
* @param string $connection
* @return Connection
*/
public function connection($connection = null)
{