getName()); unset($phpReflection); return $laminasReflection; } /** * Get DocBlock comment * * @return string|false False if no DocBlock defined */ #[ReturnTypeWillChange] public function getDocComment() { return parent::getDocComment(); } /** * @return false|DocBlockReflection */ public function getDocBlock() { if (! ($docComment = $this->getDocComment())) { return false; } return new DocBlockReflection($docComment); } /** * @return string */ public function toString() { return $this->__toString(); } }