Commit 840954eb authored by Taylor Otwell's avatar Taylor Otwell

Rename "register" methods to "extend".

parent 1dd35dff
......@@ -89,7 +89,7 @@ class Cache {
* @param Closure $resolver
* @return void
*/
public static function register($driver, Closure $resolver)
public static function extend($driver, Closure $resolver)
{
static::$registrar[$driver] = $resolver;
}
......
......@@ -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';
......
......@@ -124,7 +124,7 @@ class Session {
* @param Closure $resolver
* @return void
*/
public static function register($driver, Closure $resolver)
public static function extend($driver, Closure $resolver)
{
static::$registrar[$driver] = $resolver;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment