BumbleDocGen / Technical description of the project / Configuration files / PrepareSourceLink
PrepareSourceLink class:
namespace BumbleDocGen\Core\Renderer\Twig\Filter;
final class PrepareSourceLink implements \BumbleDocGen\Core\Renderer\Twig\Filter\CustomFilterInterfaceThe filter converts the string into an anchor that can be used in a GitHub document link
| name | value |
|---|---|
| Filter name: | prepareSourceLink |
- # __invoke | source code
public function __invoke(string $text): string;Parameters:
| Name | Type | Description |
|---|---|---|
| $text | string | Processed text |
Return value: string
- # getName | source code
public static function getName(): string;Parameters: not specified
Return value: string
- # getOptions | source code
public static function getOptions(): array;Parameters: not specified
Return value: array