public function getOptions($option = null)
    {
        $this->getAdapterOptions();
        if ($option !== null) {
            if (!isset($this->options[$option])) {
                throw new Exception\RuntimeException(sprintf(
                    'Options "%s" not found',
                    $option
                ));
            }
            return $this->options[$option];
        }
        return $this->options;
    }