public function GoogleApiServiceClientService::__construct in Google API PHP Client 8.4
Same name and namespace in other branches
- 8.3 src/Service/GoogleApiServiceClientService.php \Drupal\google_api_client\Service\GoogleApiServiceClientService::__construct()
Callback Controller constructor.
Parameters
\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory: LoggerChannelFactoryInterface.
\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: Cache Backend.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Service/ GoogleApiServiceClientService.php, line 80
Class
- GoogleApiServiceClientService
- Class Google API Client Service.
Namespace
Drupal\google_api_client\ServiceCode
public function __construct(LoggerChannelFactoryInterface $loggerFactory, CacheBackendInterface $cacheBackend, MessengerInterface $messenger, TranslationInterface $string_translation, ConfigFactoryInterface $config_factory) {
$this->loggerFactory = $loggerFactory;
$this->cacheBackend = $cacheBackend;
$this->messenger = $messenger;
$this->stringTranslation = $string_translation;
$this->configFactory = $config_factory;
}