PHP Class Yosymfony\Toml\Parser

Author: Victor Puertas ([email protected])
Exibir arquivo Open project: yosymfony/toml Class Usage Examples

Public Methods

Method Description
__construct ( )
parse ( string $value ) : mixed Parses TOML string into a PHP value.

Private Methods

Method Description
addInvalidArrayTablesName ( array $tablenameParts )
getArrayValue ( )
getFloat ( Yosymfony\Toml\Token $token )
getInteger ( Yosymfony\Toml\Token $token )
getLastElementRef ( &$array )
getLiteralValue ( )
getStringValue ( $openToken )
isLiteralBoolean ( Yosymfony\Toml\Token $token )
isLiteralDatetime ( Yosymfony\Toml\Token $token )
isLiteralFloat ( Yosymfony\Toml\Token $token )
isLiteralInteger ( Yosymfony\Toml\Token $token )
isTableImplicit ( array $tablenameParts )
isTokenValidForComment ( Yosymfony\Toml\Token $token )
isTokenValidForKey ( Yosymfony\Toml\Token $token )
isTokenValidForTablename ( Yosymfony\Toml\Token $token )
isValidKey ( $key, $quotesActived )
processArrayOfTables ( )
processComment ( )
processInlineTable ( $key )
processKeyValue ( )
processTable ( )
processTables ( )
setArrayOfTables ( $key )
setTable ( $key )

Method Details

__construct() public method

public __construct ( )

parse() public method

Parses TOML string into a PHP value.
public parse ( string $value ) : mixed
$value string A TOML string
return mixed A PHP value