Parses the given TypoScript source code and returns an object tree
as the result.
public parse ( string $sourceCode, string $contextPathAndFilename = null, array $objectTreeUntilNow = [], boolean $buildPrototypeHierarchy = true ) : 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 |
$buildPrototypeHierarchy | boolean | Merge prototype configurations or not. Will be FALSE for includes to only do that once at the end. |
Résultat | array | A TypoScript object tree, generated from the source code |