public function getSettingOrThrow($key)
    {
        if ( !isset($this->data[$key]))
        {
            throw new UnknownSettingException($this->id, $key);
        }

        return $this->data[$key];
    }
public function getSettingOrThrow($key)
    {
        if ( !isset($this->data[$key]))
        {
            throw new UnknownSettingException($this->id, $key);
        }

        return $this->data[$key];
    }
public function getSettingOrThrow ( $ key ) { if ( ! isset ( $ this -> data [ $ key ] ) ) { throw new UnknownSettingException ( $ this -> id , $ key ) ; } return $ this -> data [ $ key ] ; }
Get the value of a setting in the initializer configuration. If that setting is not found, an exception will be
thrown.

@param string $key The key of the setting we are interested about

@return mixed The setting value
Get the value of a setting in the initializer configuration . If that setting is not found an exception will be thrown .