public function getPropertyComment($property) { $propertyReflection = new \ReflectionProperty($this->obj, $property); if ($comment = $propertyReflection->getDocComment()) { return $this->cleanDocComment($comment); } return null; }