Ejemplo n.º 1
0
 public function __construct($name, $factoryService, $factoryMethod, array $factoryArguments = array())
 {
     parent::__construct($name);
     $this->setFactoryService($factoryService);
     $this->setFactoryMethod($factoryMethod);
     $this->setFactoryArguments($factoryArguments);
 }
Ejemplo n.º 2
0
 public function __construct($name, $object)
 {
     parent::__construct($name);
     $this->instance = $object;
     $this->class = Debugger::getType($object);
 }
Ejemplo n.º 3
0
 public function __construct($name, $closure)
 {
     parent::__construct($name);
     $this->closure = $closure;
 }