You are here

public function DeveloperAppEdgeEntityControllerProxy::update in Apigee Edge 8

Updates an entity in Apigee Edge.

Applies incoming values from Apigee Edge in $entity.

Parameters

\Apigee\Edge\Entity\EntityInterface $entity: The update entity.

Overrides EdgeEntityControllerInterface::update

File

src/Entity/Controller/DeveloperAppEdgeEntityControllerProxy.php, line 86

Class

DeveloperAppEdgeEntityControllerProxy
Developer app specific entity controller implementation.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function update(EntityInterface $entity) : void {

  /** @var \Apigee\Edge\Api\Management\Entity\DeveloperAppInterface $entity */
  $controller = $this->devAppControllerFactory
    ->developerAppController($entity
    ->getDeveloperId());
  $controller
    ->update($entity);
}