Neos\Fusion\Core\ParserInterface::parse PHP Method

parse() public method

Parses the given TypoScript source code and returns an object tree as the result.
public parse ( string $sourceCode, string $contextPathAndFilename = null, array $objectTreeUntilNow = [] ) : array
$sourceCode string The TypoScript source code to parse
$contextPathAndFilename string An optional path and filename to use as a prefix for inclusion of further TypoScript files
$objectTreeUntilNow array Used internally for keeping track of the built object tree
return array A TypoScript object tree, generated from the source code
    public function parse($sourceCode, $contextPathAndFilename = null, array $objectTreeUntilNow = array());