public function SDKConnector::__construct in Apigee Edge 8
Same name in this branch
- 8 src/SDKConnector.php \Drupal\apigee_edge\SDKConnector::__construct()
- 8 modules/apigee_edge_debug/src/SDKConnector.php \Drupal\apigee_edge_debug\SDKConnector::__construct()
- 8 tests/modules/apigee_edge_test/src/SDKConnector.php \Drupal\apigee_edge_test\SDKConnector::__construct()
Constructs a new SDKConnector.
Parameters
\Drupal\Core\Http\ClientFactory $client_factory: 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 $module_handler: Module handler service.
\Drupal\Core\Extension\InfoParserInterface $info_parser: Info file parser service.
2 calls to SDKConnector::__construct()
- SDKConnector::__construct in modules/
apigee_edge_debug/ src/ SDKConnector.php - Constructs a new SDKConnector.
- SDKConnector::__construct in tests/
modules/ apigee_edge_test/ src/ SDKConnector.php - Constructs a new SDKConnector.
2 methods override SDKConnector::__construct()
- SDKConnector::__construct in modules/
apigee_edge_debug/ src/ SDKConnector.php - Constructs a new SDKConnector.
- SDKConnector::__construct in tests/
modules/ apigee_edge_test/ src/ SDKConnector.php - Constructs a new SDKConnector.
File
- src/
SDKConnector.php, line 125
Class
- SDKConnector
- Provides an Apigee Edge SDK connector.
Namespace
Drupal\apigee_edgeCode
public function __construct(ClientFactory $client_factory, KeyRepositoryInterface $key_repository, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, InfoParserInterface $info_parser) {
$this->clientFactory = $client_factory;
$this->entityTypeManager = $entity_type_manager;
$this->keyRepository = $key_repository;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->infoParser = $info_parser;
}