public function AppNameCacheByOwnerFactory::getAppNameCache in Apigee Edge 8
Returns the same app name cache instance for an owner.
Parameters
string $owner: Developer id (UUID), email address or a company's company name.
Return value
\Drupal\apigee_edge\Entity\Controller\Cache\EntityIdCacheInterface The app name cache instance that belongs to the owner.
Overrides AppNameCacheByOwnerFactoryInterface::getAppNameCache
File
- src/
Entity/ Controller/ Cache/ AppNameCacheByOwnerFactory.php, line 38
Class
- AppNameCacheByOwnerFactory
- Base definition of the app name cache service by app owner.
Namespace
Drupal\apigee_edge\Entity\Controller\CacheCode
public function getAppNameCache(string $owner) : EntityIdCacheInterface {
if (!isset($this->instances[$owner])) {
$this->instances[$owner] = new EntityIdCache();
}
return $this->instances[$owner];
}