You are here

public function CachedManagementApiEdgeEntityControllerProxy::__construct in Apigee Edge 8

CachedManagementApiEdgeEntityControllerProxy constructor.

Parameters

\Drupal\apigee_edge\Entity\Controller\EntityCacheAwareControllerInterface $controller: The entity controller that uses cache.

File

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

Class

CachedManagementApiEdgeEntityControllerProxy
Management API specific cached entity controller implementation.

Namespace

Drupal\apigee_edge\Entity\Controller

Code

public function __construct(EntityCacheAwareControllerInterface $controller) {
  $this->originalController = $controller;
  $this->proxiedController = new ManagementApiEdgeEntityControllerProxy($controller);
}