You are here

public function CachedManagementApiEdgeEntityControllerProxy::load in Apigee Edge 8

Loads an entity from Apigee Edge.

Parameters

string $id: One of an entity's unique ids. (Some entities has more than one unique id at a moment, ex.: developer's email address and id (UUID).)

Return value

\Apigee\Edge\Entity\EntityInterface The load entity from Apigee Edge.

Throws

\Apigee\Edge\Exception\ApiException If entity does not exist with id.

Overrides EdgeEntityControllerInterface::load

File

src/Entity/Controller/CachedManagementApiEdgeEntityControllerProxy.php, line 69

Class

CachedManagementApiEdgeEntityControllerProxy
Management API specific cached entity controller implementation.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function load(string $id) : EntityInterface {
  return $this->proxiedController
    ->load($id);
}