You are here

public function SDKConnector::__construct in Apigee Edge 8

Same name in this branch
  1. 8 src/SDKConnector.php \Drupal\apigee_edge\SDKConnector::__construct()
  2. 8 modules/apigee_edge_debug/src/SDKConnector.php \Drupal\apigee_edge_debug\SDKConnector::__construct()
  3. 8 tests/modules/apigee_edge_test/src/SDKConnector.php \Drupal\apigee_edge_test\SDKConnector::__construct()

Constructs a new SDKConnector.

Parameters

\Drupal\apigee_edge\SDKConnectorInterface $inner_service: The decorated SDK connector service.

\Drupal\Core\Logger\LoggerChannelInterface $logger: Logger interface.

\Drupal\Core\Http\ClientFactory $clientFactory: Http client.

\Drupal\key\KeyRepositoryInterface $key_repository: The key repository.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler service.

\Drupal\Core\Extension\InfoParserInterface $infoParser: Info file parser service.

Overrides SDKConnector::__construct

File

tests/modules/apigee_edge_test/src/SDKConnector.php, line 78

Class

SDKConnector
Service decorator for SDKConnector.

Namespace

Drupal\apigee_edge_test

Code

public function __construct(SDKConnectorInterface $inner_service, LoggerChannelInterface $logger, ClientFactory $clientFactory, KeyRepositoryInterface $key_repository, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler, InfoParserInterface $infoParser) {
  $this->innerService = $inner_service;
  $this->logger = $logger;
  parent::__construct($clientFactory, $key_repository, $entity_type_manager, $config_factory, $moduleHandler, $infoParser);
}