public function getOption($name, $defaultValue = null)
    {

        if (strstr($name, '.'))
            return Config::get($name, $this->options, $defaultValue);

        return isset($this->options[$name]) ? $this->options[$name] : $defaultValue;
    }