You are here

public function AppStorage::__construct in Apigee Edge 8

AppStorage constructor.

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.

\Drupal\apigee_edge\Entity\Controller\AppControllerInterface $app_controller: The app controller service.

Overrides EdgeEntityStorageBase::__construct

2 calls to AppStorage::__construct()
DeveloperAppStorage::__construct in src/Entity/Storage/DeveloperAppStorage.php
DeveloperAppStorage constructor.
TeamAppStorage::__construct in modules/apigee_edge_teams/src/Entity/Storage/TeamAppStorage.php
AppStorage constructor.
2 methods override AppStorage::__construct()
DeveloperAppStorage::__construct in src/Entity/Storage/DeveloperAppStorage.php
DeveloperAppStorage constructor.
TeamAppStorage::__construct in modules/apigee_edge_teams/src/Entity/Storage/TeamAppStorage.php
AppStorage constructor.

File

src/Entity/Storage/AppStorage.php, line 63

Class

AppStorage
Base entity storage class for developer and team (company) app entities.

Namespace

Drupal\apigee_edge\Entity\Storage

Code

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