public function __construct(\ReflectionProperty $property) { parent::__construct('p' . $property->getName(), $property->getName()); $this->property = $property; $this->property->setAccessible(TRUE); }
public function __construct(\ReflectionMethod $getterMethod) { parent::__construct('p' . $getterMethod->getName(), $getterMethod->getName()); $this->getterMethod = $getterMethod; $this->getterMethod->setAccessible(TRUE); }
public function getInitializer() { return $this->columnDescriptor->getInitializer(); }