BumbleDocGen / Technical description of the project / Class map / RemoveLineBrakes
RemoveLineBrakes class:
namespace BumbleDocGen\Core\Renderer\Twig\Filter;
final class RemoveLineBrakes implements \BumbleDocGen\Core\Renderer\Twig\Filter\CustomFilterInterface
The filter replaces all line breaks with a space
name | value |
---|---|
Filter name: | removeLineBrakes |
- # __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