private function removeByChunk(array $ids, $count = 10) {
    $storage = $this->entityTypeManager->getStorage(self::ENTITY_TYPE);
    $chunks = array_chunk($ids, $count);
    foreach ($chunks as $chunk) {
      $entities = GroupexFormCache::loadMultiple($chunk);
      $storage->delete($entities);
    }
  }
private function removeByChunk(array $ids, $count = 10) {
    $storage = $this->entityTypeManager->getStorage(self::ENTITY_TYPE);
    $chunks = array_chunk($ids, $count);
    foreach ($chunks as $chunk) {
      $entities = GroupexFormCache::loadMultiple($chunk);
      $storage->delete($entities);
    }
  }
private function removeByChunk ( array $ ids , $ count = 10 ) { $ storage = $ this -> entityTypeManager -> getStorage ( self :: ENTITY_TYPE ) ; $ chunks = array_chunk ( $ ids , $ count ) ; foreach ( $ chunks as $ chunk ) { $ entities = GroupexFormCache :: loadMultiple ( $ chunk ) ; $ storage -> delete ( $ entities ) ; } }
Remove list of entities by chunk.

@param array $ids
Entity ids.
@param int $count
Size of the chunk.
Remove list of entities by chunk .