‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\UserTsConfigFactory Class Reference

Public Member Functions

 __construct (private readonly ContainerInterface $container, private readonly TokenizerInterface $tokenizer, private readonly TsConfigTreeBuilder $tsConfigTreeBuilder, private readonly PhpFrontend $cache,)
 create (BackendUserAuthentication $backendUser)

Detailed Description

Calculate user TSconfig. This does the heavy lifting additionally supported by TsConfigTreeBuilder: Load basic user TSconfig tree, then build the user TSconfig AST and return user TSconfig DTO.

Internal for now until API stabilized. Use backendUser->getTSConfig().

Definition at line 37 of file UserTsConfigFactory.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\TypoScript\UserTsConfigFactory::__construct ( private readonly ContainerInterface  $container,
private readonly TokenizerInterface  $tokenizer,
private readonly TsConfigTreeBuilder  $tsConfigTreeBuilder,
private readonly PhpFrontend  $cache 

Definition at line 39 of file UserTsConfigFactory.php.

Member Function Documentation

◆ create()

TYPO3\CMS\Core\TypoScript\UserTsConfigFactory::create ( BackendUserAuthentication  $backendUser)

Definition at line 46 of file UserTsConfigFactory.php.