/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / IndentLength


Returns

The current indent length.

Syntax

PHP
public function IndentLength(): int

Gets the current indent length.

Example

PHP
 $tb = new LJCTextBuilder();
 
 // Example Method:
 $tb->AddIndent();
 $retValue = $tb->IndentLength();
 $result = strval($retValue);
 
 // result:
 // 2

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.