public function getDescription() { $factory = \phpDocumentor\Reflection\DocBlockFactory::createInstance(); $docblock = $factory->create($this->reflector); $text = $docblock->getSummary() . $docblock->getDescription(); return $text; }