You are here

public function TeamMembershipManager::__construct in Apigee Edge 8

Same name in this branch
  1. 8 modules/apigee_edge_teams/src/TeamMembershipManager.php \Drupal\apigee_edge_teams\TeamMembershipManager::__construct()
  2. 8 modules/apigee_edge_actions/src/TeamMembershipManager.php \Drupal\apigee_edge_actions\TeamMembershipManager::__construct()

TeamMembershipManager constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

\Drupal\apigee_edge_teams\CompanyMembersControllerFactoryInterface $company_members_controller_factory: The company members controller factory service.

\Drupal\apigee_edge\Entity\Controller\DeveloperControllerInterface $developer_controller: The developer controller service.

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

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator service.

\Psr\Log\LoggerInterface $logger: The logger.

File

modules/apigee_edge_teams/src/TeamMembershipManager.php, line 99

Class

TeamMembershipManager
Service that makes easier to work with company (team) memberships.

Namespace

Drupal\apigee_edge_teams

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, CompanyMembersControllerFactoryInterface $company_members_controller_factory, DeveloperControllerInterface $developer_controller, DeveloperCompaniesCacheInterface $developer_companies_cache, CacheTagsInvalidatorInterface $cache_tags_invalidator, LoggerInterface $logger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->companyMembersControllerFactory = $company_members_controller_factory;
  $this->developerController = $developer_controller;
  $this->developerCompaniesCache = $developer_companies_cache;
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
  $this->logger = $logger;
}