You are here

public function DeveloperCompaniesCache::__construct in Apigee Edge 8

DeveloperCompaniesCache constructor.

Parameters

\Drupal\apigee_edge\MemoryCacheFactoryInterface $memory_cache_factory: The memory cache factory service.

File

src/Entity/DeveloperCompaniesCache.php, line 44

Class

DeveloperCompaniesCache
Default non-persistent developer company membership cache implementation.

Namespace

Drupal\apigee_edge\Entity

Code

public function __construct(MemoryCacheFactoryInterface $memory_cache_factory) {
  $this->backend = $memory_cache_factory
    ->get('developer_companies');
}