The idea behind this method was that you'd only have to iterate through one thing, the collection of items, and you'd have everything you'd need to either use the value or regenerate and store it.

```php
$items = $pool->getItems($keys);

foreach($items as $keys => $item)
{
   if($item->isHit())
   {
      $value = $item->get();
   }else{
      $value = runExpensiveFunction($key);
      $item->set($value);
   }
}
```