You are here

public function GoogleApiClientService::__construct in Google API PHP Client 8.2

Same name and namespace in other branches
  1. 8.4 src/Service/GoogleApiClientService.php \Drupal\google_api_client\Service\GoogleApiClientService::__construct()
  2. 8.3 src/Service/GoogleApiClientService.php \Drupal\google_api_client\Service\GoogleApiClientService::__construct()

Callback Controller constructor.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory: LoggerChannelFactoryInterface.

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: Cache Backend.

File

src/Service/GoogleApiClientService.php, line 53

Class

GoogleApiClientService
Class Google API Client Service.

Namespace

Drupal\google_api_client\Service

Code

public function __construct(LoggerChannelFactoryInterface $loggerFactory, CacheBackendInterface $cacheBackend) {
  $this->loggerFactory = $loggerFactory;
  $this->cacheBackend = $cacheBackend;
}