public function getSetting($key, $defaultValue)
    {
        if ( !isset($this->data[$key]))
        {
            return $defaultValue;
        }

        return $this->data[$key];
    }
public function getSetting($key, $defaultValue)
    {
        if ( !isset($this->data[$key]))
        {
            return $defaultValue;
        }

        return $this->data[$key];
    }
public function getSetting ( $ key , $ defaultValue ) { if ( ! isset ( $ this -> data [ $ key ] ) ) { return $ defaultValue ; } return $ this -> data [ $ key ] ; }
Get the value of a setting in the initializer configuration. If that setting is not found, return the provided
default value.

@param string $key          The key of the setting we are interested about
@param mixed  $defaultValue The default value to return if not found

@return mixed The setting value or the default value
Get the value of a setting in the initializer configuration . If that setting is not found return the provided default value .