public function TeamAppControllerFactory::teamAppController in Apigee Edge 8
Returns a preconfigured team app controller.
Parameters
string $team: Name of a team.
Return value
\Drupal\apigee_edge_teams\Entity\Controller\TeamAppControllerInterface Team app controller.
Overrides TeamAppControllerFactoryInterface::teamAppController
File
- modules/
apigee_edge_teams/ src/ Entity/ Controller/ TeamAppControllerFactory.php, line 101
Class
- TeamAppControllerFactory
- Company app controller factory.
Namespace
Drupal\apigee_edge_teams\Entity\ControllerCode
public function teamAppController(string $team) : TeamAppControllerInterface {
if (!isset($this->instances[$team])) {
$this->instances[$team] = new TeamAppController($team, $this->connector, $this->orgController, $this->appCache, $this->appCacheByOwnerFactory, $this->appNameCacheByOwnerFactory);
}
return $this->instances[$team];
}