You are here

private function OrganizationController::decorated in Apigee Edge 8

Returns the decorated organization controller from the SDK.

Return value

\Apigee\Edge\Api\Management\Controller\OrganizationControllerInterface The initialized organization controller.

File

src/Entity/Controller/OrganizationController.php, line 85

Class

OrganizationController
Definition of the Organization controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

private function decorated() : EdgeOrganizationControllerInterface {
  if ($this->instance === NULL) {
    $this->instance = new EdgeOrganizationController($this->connector
      ->getClient());
  }
  return $this->instance;
}