/** * {@inheritDoc} */ public function getShortName() { return $this->betterReflectionClass->getShortName(); }
/** * @param \BetterReflection\Reflection\ReflectionClass $class * @param string $displayNameFormat * * @return string */ public function mergeClassNameWithShortDescription(ReflectionClass $class, $displayNameFormat = '%s') { $doc = new DocBlock($class->getDocComment()); $displayName = sprintf($displayNameFormat, $class->getShortName()); return $this->mergeNameWithShortDescription($class->getShortName(), $doc, $displayName); }