public function AppCacheByOwner::saveEntities in Apigee Edge 8
Saves entities to the cache.
Parameters
\Apigee\Edge\Entity\EntityInterface[] $entities: Array of entities.
Overrides EntityCacheInterface::saveEntities
File
- src/
Entity/ Controller/ Cache/ AppCacheByOwner.php, line 91
Class
- AppCacheByOwner
- Default cache store for apps of a specific owner.
Namespace
Drupal\apigee_edge\Entity\Controller\CacheCode
public function saveEntities(array $entities) : void {
$this->appCache
->saveEntities($entities);
// $entity->id() returns app names so this is fine.
$this->appNameCache
->saveEntities($entities);
}