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