BumbleDocGen / Technical description of the project / Configuration files / AddIndentFromLeft
AddIndentFromLeft class:
namespace BumbleDocGen\Core\Renderer\Twig\Filter;
final class AddIndentFromLeft implements \BumbleDocGen\Core\Renderer\Twig\Filter\CustomFilterInterfaceFilter adds indent from left
| name | value |
|---|---|
| Filter name: | addIndentFromLeft |
- # __invoke | source code
public function __invoke(string $text, int $identLength = 4, bool $skipFirstIdent = false): string;Parameters:
| Name | Type | Description |
|---|---|---|
| $text | string | Processed text |
| $identLength | int | Indent size |
| $skipFirstIdent | bool | Skip indent for first line in text or not |
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