public createForProperty ( ApiGen\Contracts\Parser\Reflection\PropertyReflectionInterface $property, ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $class = null ) : string | ||
$property | ApiGen\Contracts\Parser\Reflection\PropertyReflectionInterface | |
$class | ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | |
return | string |
/** * @return string */ private function createForProperty(PropertyReflectionInterface $reflectionProperty, array $classes) { $text = $reflectionProperty->getDeclaringClassName() . '::' . Html::el('var')->setText('$' . $reflectionProperty->getName()); return $this->linkBuilder->build($this->elementUrlFactory->createForProperty($reflectionProperty), $text, FALSE, $classes); }
/** * @return string */ public function propertyUrl(PropertyReflectionInterface $property, ClassReflectionInterface $class = NULL) { return $this->elementUrlFactory->createForProperty($property, $class); }
/** * @return string */ public function propertyUrl(ReflectionProperty $property, ReflectionClass $class = NULL) { return $this->elementUrlFactory->createForProperty($property, $class); }