You are here

public function TeamController::__construct in Apigee Edge 8

CompanyController 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.

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

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

\Drupal\apigee_edge_teams\CompanyMembershipObjectCacheInterface $company_membership_object_cache: The company membership object cache.

\Drupal\apigee_edge\Entity\DeveloperCompaniesCacheInterface $developer_companies_cache: The developer companies cache.

File

modules/apigee_edge_teams/src/Entity/Controller/TeamController.php, line 140

Class

TeamController
Definition of the Team controller service.

Namespace

Drupal\apigee_edge_teams\Entity\Controller

Code

public function __construct(SDKConnectorInterface $connector, OrganizationControllerInterface $org_controller, EntityCacheInterface $entity_cache, EntityIdCacheInterface $entity_id_cache, AppCacheByOwnerFactoryInterface $app_cache_by_owner_factory, AppNameCacheByOwnerFactoryInterface $app_name_cache_by_owner, CompanyMembershipObjectCacheInterface $company_membership_object_cache, DeveloperCompaniesCacheInterface $developer_companies_cache) {
  $this->connector = $connector;
  $this->orgController = $org_controller;
  $this->entityCache = $entity_cache;
  $this->entityIdCache = $entity_id_cache;
  $this->appCacheByOwnerFactory = $app_cache_by_owner_factory;
  $this->appNameCacheByOwnerFactory = $app_name_cache_by_owner;
  $this->companyMembershipObjectCache = $company_membership_object_cache;
  $this->developerCompaniesCache = $developer_companies_cache;
}