Stash\Pool::getItems PHP Method

getItems() public method

public getItems ( array $keys = [] )
$keys array
    public function getItems(array $keys = array())
    {
        // temporarily cheating here by wrapping around single calls.
        $items = array();
        foreach ($keys as $key) {
            $item = $this->getItem($key);
            $items[$item->getKey()] = $item;
        }
        return new \ArrayIterator($items);
    }