You are here

public function ManagementApiEdgeEntityControllerProxy::create in Apigee Edge 8

Creates an entity in Apigee Edge.

Applies incoming values from Apigee Edge in $entity.

Parameters

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

Overrides EdgeEntityControllerInterface::create

File

src/Entity/Controller/ManagementApiEdgeEntityControllerProxy.php, line 61

Class

ManagementApiEdgeEntityControllerProxy
Management API specific default entity controller implementation.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function create(EntityInterface $entity) : void {
  $this->controller
    ->create($entity);
}