Skip to content

Latest commit

 

History

History
143 lines (90 loc) · 2.88 KB

PrepareSourceLink.md

File metadata and controls

143 lines (90 loc) · 2.88 KB

BumbleDocGen / Technical description of the project / Configuration files / PrepareSourceLink


namespace BumbleDocGen\Core\Renderer\Twig\Filter;

final class PrepareSourceLink implements \BumbleDocGen\Core\Renderer\Twig\Filter\CustomFilterInterface
The filter converts the string into an anchor that can be used in a GitHub document link

Settings:

name value
Filter name: prepareSourceLink

Methods:

  1. __invoke
  2. getName
  3. getOptions

Method details:

public function __invoke(string $text): string;

Parameters:

Name Type Description
$text string Processed text

Return value: string


public static function getName(): string;

Parameters: not specified

Return value: string


public static function getOptions(): array;

Parameters: not specified

Return value: array