Esempio n. 1
0
 /**
  * "Extend" an abstract type in the container.
  *
  * @param string $abstract
  * @param \Closure $closure
  * @return void 
  * @throws \InvalidArgumentException
  * @static 
  */
 public static function extend($abstract, $closure)
 {
     //Method inherited from \Illuminate\Container\Container
     \Illuminate\Foundation\Application::extend($abstract, $closure);
 }
Esempio n. 2
0
 /**
  * "Extend" an abstract type in the container.
  * 
  * (Overriding Container::extend)
  *
  * @param string $abstract
  * @param \Closure $closure
  * @return void 
  * @throws \InvalidArgumentException
  * @static 
  */
 public static function extend($abstract, $closure)
 {
     \Illuminate\Foundation\Application::extend($abstract, $closure);
 }