getAttribute('frontend.typoscript')->getConfigTree(), * and its array variant $request->getAttribute('frontend.typoscript')->getConfigArray(). * * Registered listener can *set* a modified setup config AST. Note the TypoScript AST * structure is still marked @internal within v13 core and may change later, * using the event to *write* different 'config' data is thus still a bit risky. */ final class ModifyTypoScriptConfigEvent { public function __construct( private readonly ServerRequestInterface $request, private readonly RootNode $setupTree, private RootNode $configTree, ) {} public function getRequest(): ServerRequestInterface { return $this->request; } public function getSetupTree(): RootNode { return $this->setupTree; } public function getConfigTree(): RootNode { return $this->configTree; } public function setConfigTree(RootNode $configTree): void { $this->configTree = $configTree; } }