public function __construct($type, $class, array $constructorArgs = array())
 {
     parent::__construct($type);
     $this->refl = new \ReflectionClass($class);
     array_unshift($constructorArgs, null);
     $this->constructorArgs = $constructorArgs;
 }
Example #2
0
 public function __construct($type)
 {
     parent::__construct($type);
     $this->refl = new \ReflectionClass('\\Bond\\Entity\\Types\\DateRange');
     $this->bounds = $this->refl->getProperty('bounds');
     $this->bounds->setAccessible(true);
     $this->lower = $this->refl->getProperty('lower');
     $this->lower->setAccessible(true);
     $this->upper = $this->refl->getProperty('upper');
     $this->upper->setAccessible(true);
 }
Example #3
0
 public function __construct($type, $callback)
 {
     parent::__construct($type);
     $this->callback = $callback;
 }
Example #4
0
 public function __construct($type, $isInt = false)
 {
     parent::__construct($type);
     $this->isInt = $isInt;
 }