Property | Type | Description | |
---|---|---|---|
$currentArrayOfTables | |||
$currentKey | |||
$currentLine | |||
$currentTable | |||
$keyList | |||
$keyListArryOfTables | |||
$keyListInvalidArrayOfTables | |||
$output | |||
$prefix |
Method | Description | |
---|---|---|
__constructor ( integer $indent = 4 ) | Constructor. | |
addArrayTables ( string $key ) : |
||
addComment ( string $comment ) : |
Add a comment line. | |
addGroup ( string $keygroup ) : |
Alias for addTable method. | |
addTable ( string $key ) : |
Add a table. | |
addValue ( string $key, mixed $val, string $comment = null ) : |
Add a key-value. | |
getTomlString ( ) : string | Get the TOML string. |
Method | Description | |
---|---|---|
addInvalidArrayOfTablesKey ( array $keyParts ) | ||
addKey ( $key ) | ||
addKeyArrayOfTables ( $key, array $keyParts ) | ||
addKeyTable ( $key ) | ||
addKeyToKeyList ( $key ) | ||
append ( $val, $addPostNewline = false, $addIndentation = false, $addPreNewline = false ) | ||
dumpArray ( $val ) | ||
dumpBool ( $val ) | ||
dumpComment ( $val ) | ||
dumpDatetime ( $val ) | ||
dumpFloat ( $val ) | ||
dumpInteger ( $val ) | ||
dumpString ( $val ) | ||
dumpValue ( $val ) | ||
getAbsoluteKey ( $key, $currentKeyTable, $currentKeyArrayOfTables ) | ||
getArrayTablesKeyPath ( array $keyParts ) | ||
getKeyPart ( $key ) | ||
isStringValid ( string $val ) : boolean | ||
isTableImplicit ( array $keyParts ) | ||
normalizeString ( $val ) |
public __constructor ( integer $indent = 4 ) | ||
$indent | integer | The amount of spaces to use for indentation of nested nodes. |
public addArrayTables ( string $key ) : |
||
$key | string | |
return |
public addComment ( string $comment ) : |
||
$comment | string | |
return |