protected function flush()
    {
        $method = $this->methods['flush'];

        if (!method_exists($this->storage, $method) || !is_callable([$this->storage, $method])) {
            throw new FlushMethodNotFoundException(get_class($this->storage), $method);
        }

        $this->storage->$method();

        return true;
    }