예제 #1
0
 /**
  * "Extend" an abstract type in the container.
  *
  * @param  string   $abstract
  * @param  Closure  $closure
  * @return void
  *
  * @throws \InvalidArgumentException
  */
 public static function extend($abstract, Closure $closure)
 {
     return static::$instance->extend($abstract, $closure);
 }