PHP Class ApiGen\Templating\Filters\SourceFilters

Inheritance: extends Filters
Afficher le fichier Open project: apigen/apigen Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ApiGen\Contracts\Configuration\ConfigurationInterface $configuration )
sourceUrl ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element, boolean $withLine = true ) : string
staticFile ( string $name ) : string

Private Methods

Méthode Description
getElementLinesAnchor ( ApiGen\Contracts\Parser\Reflection\Behavior\LinedInterface $element ) : string
isDirectUrl ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element ) : boolean

Method Details

__construct() public méthode

public __construct ( ApiGen\Contracts\Configuration\ConfigurationInterface $configuration )
$configuration ApiGen\Contracts\Configuration\ConfigurationInterface

sourceUrl() public méthode

public sourceUrl ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element, boolean $withLine = true ) : string
$element ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
$withLine boolean Include file line number into the link
Résultat string

staticFile() public méthode

public staticFile ( string $name ) : string
$name string
Résultat string