public function getReflectionClass() { if (!isset($this->reflectionClass)) { $this->reflectionClass = new \ReflectionClass($this); } return $this->reflectionClass; }