protected function TeamAppCredentialController::decorated in Apigee Edge 8
Returns the decorated app credential controller from the SDK.
Return value
\Apigee\Edge\Api\Management\Controller\AppCredentialController The initialized app credential controller.
Overrides AppCredentialControllerBase::decorated
File
- modules/
apigee_edge_teams/ src/ Entity/ Controller/ TeamAppCredentialController.php, line 39
Class
- TeamAppCredentialController
- Definition of the team app credential controller service.
Namespace
Drupal\apigee_edge_teams\Entity\ControllerCode
protected function decorated() : EdgeAppCredentialController {
if (!isset($this->instances[$this->owner][$this->appName])) {
$this->instances[$this->owner][$this->appName] = new CompanyAppCredentialController($this->connector
->getOrganization(), $this->owner, $this->appName, $this->connector
->getClient());
}
return $this->instances[$this->owner][$this->appName];
}