You are here

protected function DeveloperController::decorated in Apigee Edge 8

Returns the decorated developer controller from the SDK.

Return value

\Apigee\Edge\Api\Management\Controller\DeveloperControllerInterface The initialized developer controller.

Overrides CachedEntityCrudOperationsControllerTrait::decorated

File

src/Entity/Controller/DeveloperController.php, line 145

Class

DeveloperController
Definition of the Developer controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

protected function decorated() : EdgeDeveloperControllerInterface {
  if ($this->instance === NULL) {
    $this->instance = new EdgeDeveloperController($this->connector
      ->getOrganization(), $this->connector
      ->getClient(), NULL, $this->orgController);
  }
  return $this->instance;
}