You are here

public function FacController::__construct in Fast Autocomplete 8

File

src/Controller/FacController.php, line 78

Class

FacController
Fast Autocomplete controller class.

Namespace

Drupal\fac\Controller

Code

public function __construct(SearchService $search_service, HashServiceInterface $hash_service, EntityTypeManagerInterface $storage, LanguageManagerInterface $language_manager, AccountSwitcherInterface $account_switcher, LoggerChannelFactoryInterface $logger_factory, FileSystemInterface $file_system) {
  $this->searchService = $search_service;
  $this->hashService = $hash_service;
  $this->storage = $storage;
  $this->languageManager = $language_manager;
  $this->accountSwitcher = $account_switcher;
  $this->logger = $logger_factory
    ->get('fac');
  $this->fileSystem = $file_system;
}