/** * @param string $class * @param callable $callback * * @param mixed $building */ public function __construct($class, callable $callback = null, $building = null) { $this->class = $class; return parent::__construct($callback, $building); }
/** * @param callable $callback * @param array $building */ public function __construct(callable $callback = null, array $building = []) { return parent::__construct($callback, $building); }