You are here

public function DeveloperAppControllerFactory::developerAppController in Apigee Edge 8

Returns a preconfigured developer app controller.

Parameters

string $developer: Email address or id (UUID) of a developer.

Return value

\Drupal\apigee_edge\Entity\Controller\DeveloperAppControllerInterface Developer app controller.

Overrides DeveloperAppControllerFactoryInterface::developerAppController

File

src/Entity/Controller/DeveloperAppControllerFactory.php, line 100

Class

DeveloperAppControllerFactory
Developer app controller factory.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function developerAppController(string $developer) : DeveloperAppControllerInterface {
  if (!isset($this->instances[$developer])) {
    $this->instances[$developer] = new DeveloperAppController($developer, $this->connector, $this->orgController, $this->appCache, $this->appCacheByOwnerFactory, $this->appNameCacheByOwnerFactory);
  }
  return $this->instances[$developer];
}