You are here

public function TreeBuilder::__construct in Token 8

File

src/TreeBuilder.php, line 42

Class

TreeBuilder

Namespace

Drupal\token

Code

public function __construct(TokenInterface $token_service, TokenEntityMapperInterface $entity_mapper, CacheBackendInterface $cache_backend, LanguageManagerInterface $language_manager) {
  $this->tokenService = $token_service;
  $this->entityMapper = $entity_mapper;
  $this->cacheBackend = $cache_backend;
  $this->languageManager = $language_manager;
}