Пример #1
0
 /**
  * @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);
 }
Пример #2
0
 /**
  * @param callable $callback
  * @param array $building
  */
 public function __construct(callable $callback = null, array $building = [])
 {
     return parent::__construct($callback, $building);
 }