refactoring.

This commit is contained in:
Taylor Otwell
2011-09-26 21:48:06 -05:00
parent ed3e3e73cc
commit 54c69d8c9f
7 changed files with 89 additions and 36 deletions

View File

@@ -18,6 +18,14 @@ class Manager {
*
* Note: Database connections are managed as singletons.
*
* <code>
* // Get the default database connection for the application
* $connection = DB::connection();
*
* // Get a specific connection by passing the connection name
* $connection = DB::connection('mysql');
* </code>
*
* @param string $connection
* @return Connection
*/