예제 #1
0
 /**
  * @return string
  */
 public function functionUrl(FunctionReflectionInterface $function)
 {
     return $this->elementUrlFactory->createForFunction($function);
 }
 /**
  * @return string
  */
 public function functionUrl(ReflectionFunction $function)
 {
     return $this->elementUrlFactory->createForFunction($function);
 }
예제 #3
0
 /**
  * @return string
  */
 private function createForFunction(FunctionReflectionInterface $reflectionFunction, array $classes)
 {
     return $this->linkBuilder->build($this->elementUrlFactory->createForFunction($reflectionFunction), $reflectionFunction->getName() . '()', TRUE, $classes);
 }
예제 #4
0
 /**
  * @param string $element
  * @return string
  */
 public function getTemplatePathForAnnotationGroup($element)
 {
     return $this->getDestination() . '/' . $this->elementUrlFactory->createForAnnotationGroup($element);
 }