public function TeamMembershipManager::getTeams in Apigee Edge 8
Same name in this branch
- 8 modules/apigee_edge_teams/src/TeamMembershipManager.php \Drupal\apigee_edge_teams\TeamMembershipManager::getTeams()
- 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_actionsCode
public function getTeams(string $developer) : array {
return $this->inner
->getTeams($developer);
}