You are here

public function EdgeEntityStorageBase::__construct in Apigee Edge 8

Constructs an EdgeEntityStorageBase instance.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Cache\CacheBackendInterface $cache_backend: The cache backend to be used.

\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache.

\Drupal\Component\Datetime\TimeInterface $system_time: The system time.

Overrides EntityStorageBase::__construct

4 calls to EdgeEntityStorageBase::__construct()
ApiProductStorage::__construct in src/Entity/Storage/ApiProductStorage.php
Constructs an APIProductStorage instance.
AppStorage::__construct in src/Entity/Storage/AppStorage.php
AppStorage constructor.
DeveloperStorage::__construct in src/Entity/Storage/DeveloperStorage.php
Constructs an DeveloperStorage instance.
TeamStorage::__construct in modules/apigee_edge_teams/src/Entity/Storage/TeamStorage.php
Constructs an DeveloperStorage instance.
4 methods override EdgeEntityStorageBase::__construct()
ApiProductStorage::__construct in src/Entity/Storage/ApiProductStorage.php
Constructs an APIProductStorage instance.
AppStorage::__construct in src/Entity/Storage/AppStorage.php
AppStorage constructor.
DeveloperStorage::__construct in src/Entity/Storage/DeveloperStorage.php
Constructs an DeveloperStorage instance.
TeamStorage::__construct in modules/apigee_edge_teams/src/Entity/Storage/TeamStorage.php
Constructs an DeveloperStorage instance.

File

src/Entity/Storage/EdgeEntityStorageBase.php, line 89

Class

EdgeEntityStorageBase
Base entity storage class for Apigee Edge entities.

Namespace

Drupal\apigee_edge\Entity\Storage

Code

public function __construct(EntityTypeInterface $entity_type, CacheBackendInterface $cache_backend, MemoryCacheInterface $memory_cache, TimeInterface $system_time) {
  parent::__construct($entity_type, $memory_cache);
  $this->cacheBackend = $cache_backend;
  $this->systemTime = $system_time;
}