You are here

public function ApiProductController::__construct in Apigee Edge 8

Same name in this branch
  1. 8 src/Entity/Controller/ApiProductController.php \Drupal\apigee_edge\Entity\Controller\ApiProductController::__construct()
  2. 8 modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductController.php \Drupal\apigee_edge_apiproduct_rbac_test\ApiProductController::__construct()

ApiProductController constructor.

Parameters

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

\Drupal\apigee_edge\Entity\Controller\OrganizationControllerInterface $org_controller: The organization controller service.

\Drupal\apigee_edge\Entity\Controller\Cache\EntityCacheInterface $entity_cache: The entity cache used by this controller.

\Drupal\apigee_edge\Entity\Controller\Cache\EntityIdCacheInterface $entity_id_cache: The entity id cache used by this controller.

File

src/Entity/Controller/ApiProductController.php, line 92

Class

ApiProductController
Definition of the API product controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function __construct(SDKConnectorInterface $connector, OrganizationControllerInterface $org_controller, EntityCacheInterface $entity_cache, EntityIdCacheInterface $entity_id_cache) {
  $this->connector = $connector;
  $this->orgController = $org_controller;
  $this->entityCache = $entity_cache;
  $this->entityIdCache = $entity_id_cache;
}