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