You are here

protected function ApiProductController::decorated in Apigee Edge 8

Returns the decorated API product controller from the SDK.

Return value

\Apigee\Edge\Api\Management\Controller\ApiProductControllerInterface The initialized API product controller.

Overrides CachedEntityCrudOperationsControllerTrait::decorated

File

src/Entity/Controller/ApiProductController.php, line 105

Class

ApiProductController
Definition of the API product controller service.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

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