You are here

public function DeveloperAppControllerFactory::__construct in Apigee Edge 8

DeveloperAppControllerFactory 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\AppCacheInterface $app_cache: The app cache that stores apps by their ids (UUIDs).

\Drupal\apigee_edge\Entity\Controller\Cache\AppCacheByOwnerFactoryInterface $app_by_owner_app_cache_factory: The app cache by owner factory service.

\Drupal\apigee_edge\Entity\Controller\Cache\AppNameCacheByOwnerFactoryInterface $app_by_owner_app_id_cache_factory: The app name cache by owner factory service.

File

src/Entity/Controller/DeveloperAppControllerFactory.php, line 89

Class

DeveloperAppControllerFactory
Developer app controller factory.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function __construct(SDKConnectorInterface $connector, OrganizationControllerInterface $org_controller, AppCacheInterface $app_cache, AppCacheByOwnerFactoryInterface $app_by_owner_app_cache_factory, AppNameCacheByOwnerFactoryInterface $app_by_owner_app_id_cache_factory) {
  $this->connector = $connector;
  $this->orgController = $org_controller;
  $this->appCache = $app_cache;
  $this->appCacheByOwnerFactory = $app_by_owner_app_cache_factory;
  $this->appNameCacheByOwnerFactory = $app_by_owner_app_id_cache_factory;
}