public __construct ( string $className, Closure $builder ) | ||
$className | string | Implementation class name of the dependency to proxy |
$builder | Closure | The closure which eventually builds the dependency |
public function __construct($className, \Closure $builder)
{
$this->className = $className;
$this->builder = $builder;
}