public function __construct($type, $class, array $constructorArgs = array())
 {
     parent::__construct($type);
     $this->refl = new \ReflectionClass($class);
     array_unshift($constructorArgs, null);
     $this->constructorArgs = $constructorArgs;
 }
예제 #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);
 }
예제 #3
0
 public function __construct($type, $callback)
 {
     parent::__construct($type);
     $this->callback = $callback;
 }
예제 #4
0
 public function __construct($type, $isInt = false)
 {
     parent::__construct($type);
     $this->isInt = $isInt;
 }