public function AppController::__construct in Apigee Edge 8
AppController 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\AppIdCache $app_id_cache: The app id cache that stores app UUIDs.
\Drupal\apigee_edge\Entity\Controller\Cache\AppCacheByOwnerFactoryInterface $app_cache_by_owner_factory: The (general) app cache by owner factory service.
Overrides AppControllerBase::__construct
File
- src/
Entity/ Controller/ AppController.php, line 80
Class
- AppController
- Definition of the App controller service.
Namespace
Drupal\apigee_edge\Entity\ControllerCode
public function __construct(SDKConnectorInterface $connector, OrganizationControllerInterface $org_controller, AppCacheInterface $app_cache, AppIdCache $app_id_cache, AppCacheByOwnerFactoryInterface $app_cache_by_owner_factory) {
parent::__construct($connector, $org_controller, $app_cache);
$this->appByOwnerAppCacheFactory = $app_cache_by_owner_factory;
$this->appIdCache = $app_id_cache;
}