You are here

public function TeamMembershipManager::getTeams in Apigee Edge 8

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

Returns the list of teams where the developer is currently a member.

Parameters

string $developer: Developer email address.

Return value

string[] Array of team names.

Throws

\Drupal\apigee_edge\Exception\DeveloperDoesNotExistException If developer not found with id.

Overrides TeamMembershipManagerInterface::getTeams

File

modules/apigee_edge_actions/src/TeamMembershipManager.php, line 154

Class

TeamMembershipManager
Decorates the apigee_edge_teams.team_membership_manager service.

Namespace

Drupal\apigee_edge_actions

Code

public function getTeams(string $developer) : array {
  return $this->inner
    ->getTeams($developer);
}