UserTsConfigFactory
Read onlyYes
FinalYes
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().
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- create() : UserTsConfig
Methods
__construct()
public
__construct(ContainerInterface $container, TokenizerInterface $tokenizer, TsConfigTreeBuilder $tsConfigTreeBuilder, PhpFrontend $cache) : mixed
Parameters
- $container : ContainerInterface
- $tokenizer : TokenizerInterface
- $tsConfigTreeBuilder : TsConfigTreeBuilder
- $cache : PhpFrontend
create()
public
create(BackendUserAuthentication $backendUser) : UserTsConfig
Parameters
- $backendUser : BackendUserAuthentication