You are here

private function AppCacheByOwner::getAppIdsByAppNames in Apigee Edge 8

Returns the app ids from the app cache for the given owner and app names.

Parameters

array $names: Array of app names.

Return value

array Array of app ids (UUIDs).

1 call to AppCacheByOwner::getAppIdsByAppNames()
AppCacheByOwner::removeEntities in src/Entity/Controller/Cache/AppCacheByOwner.php
Removes entities from the cache by their ids.

File

src/Entity/Controller/Cache/AppCacheByOwner.php, line 155

Class

AppCacheByOwner
Default cache store for apps of a specific owner.

Namespace

Drupal\apigee_edge\Entity\Controller\Cache

Code

private function getAppIdsByAppNames(array $names) : array {
  return array_map(function (AppInterface $app) {
    return $app
      ->getAppId();
  }, $this
    ->getAppsByAppNames($names));
}