You are here

public function Callback::__construct in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()
  2. 8 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()
  3. 8.2 src/Controller/Callback.php \Drupal\google_api_client\Controller\Callback::__construct()

Callback constructor.

Parameters

\Drupal\google_api_client\Service\GoogleApiClientService $googleApiClient: Google API Client.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

File

src/Controller/Callback.php, line 67

Class

Callback
Google Client Callback Controller.

Namespace

Drupal\google_api_client\Controller

Code

public function __construct(GoogleApiClientService $googleApiClient, ModuleHandlerInterface $module_handler, PrivateTempStoreFactory $temp_store_factory, RequestStack $request_stack) {
  $this->googleApiClientService = $googleApiClient;
  $this->moduleHandler = $module_handler;
  $this->tempStoreFactory = $temp_store_factory;
  $this->requestStack = $request_stack;
}