public createForMethod ( ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface $method, ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $class = null ) : string | ||
$method | ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface | |
$class | ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | |
return | string |
/** * @return string */ private function createForMethod(MethodReflectionInterface $reflectionMethod, array $classes) { return $this->linkBuilder->build($this->elementUrlFactory->createForMethod($reflectionMethod), $reflectionMethod->getDeclaringClassName() . '::' . $reflectionMethod->getName() . '()', FALSE, $classes); }
/** * @return string */ public function methodUrl(MethodReflectionInterface $method, ClassReflectionInterface $class = NULL) { return $this->elementUrlFactory->createForMethod($method, $class); }
/** * @return string */ public function methodUrl(ReflectionMethod $method, ReflectionClass $class = NULL) { return $this->elementUrlFactory->createForMethod($method, $class); }