public function remove($key)
    {
        if (!$this->has($key)) {
            throw $this->createEntryNotFoundException($key);
        }
        unset($this->storage[$this->lastStorageKey]);
        $this->counter--;
    }
public function remove($key)
    {
        if (!$this->has($key)) {
            throw $this->createEntryNotFoundException($key);
        }
        unset($this->storage[$this->lastStorageKey]);
        $this->counter--;
    }
{@inheritDoc}