ApiGen\Templating\Filters\Helpers\ElementUrlFactory::createForAnnotationGroup PHP Method

createForAnnotationGroup() public method

public createForAnnotationGroup ( string $name ) : string
$name string
return string
    public function createForAnnotationGroup($name)
    {
        return sprintf($this->configuration->getOption(CO::TEMPLATE)['templates'][TCO::ANNOTATION_GROUP]['filename'], Filters::urlize($name));
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @param string $element
  * @return string
  */
 public function getTemplatePathForAnnotationGroup($element)
 {
     return $this->getDestination() . '/' . $this->elementUrlFactory->createForAnnotationGroup($element);
 }