public function getSetting($name)
    {
        if (!isset($this->settings[$name])) {
            throw new \LogicException(sprintf('The setting "%s" don\'t exists.', $name));
        }
        return $this->settings[$name];
    }