‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\AST\Merger\SetupConfigMerger Class Reference

Public Member Functions

 merge (?ChildNodeInterface $config, ?ChildNodeInterface $pageConfig)
 

Private Member Functions

 mergeRecursive (ChildNodeInterface $mergeFrom, NodeInterface $mergeTo)
 

Detailed Description

Frontend TypoScript 'setup' has the main 'config' section for global config, plus a per type / typeNum specific PAGE 'config' (often page.config) that can override global 'config' per type / typeNum.

This class merges both into the final 'config', later available in Request attribute 'frontend.typoscript' getConfigTree() and getConfigArray().

: Internal AST structure.

Definition at line 34 of file SetupConfigMerger.php.

Member Function Documentation

◆ merge()

TYPO3\CMS\Core\TypoScript\AST\Merger\SetupConfigMerger::merge ( ?ChildNodeInterface  $config,
?ChildNodeInterface  $pageConfig 
)

◆ mergeRecursive()