Cache\Adapter\PHPArray\ArrayCachePool::removeListItem PHP Method

removeListItem() protected method

protected removeListItem ( $name, $key )
    protected function removeListItem($name, $key)
    {
        foreach ($this->cache[$name] as $i => $item) {
            if ($item === $key) {
                unset($this->cache[$name][$i]);
            }
        }
    }