Rename "register" methods to "extend".

This commit is contained in:
Taylor Otwell
2012-04-30 22:43:30 -05:00
parent 1dd35dffdb
commit 840954eb1d
3 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ class Database {
* @param Closure $schema
* @return void
*/
public static function register($name, Closure $connector, $query = null, $schema = null)
public static function extend($name, Closure $connector, $query = null, $schema = null)
{
if (is_null($query)) $query = '\Laravel\Database\Query\Grammars\Grammar';