public function getSetting($key, $defaultValue = null)
    {
        return $this->hasSetting($key) ? $this->settings[$key] : $defaultValue;
    }
public function getSetting($key, $defaultValue = null)
    {
        return $this->hasSetting($key) ? $this->settings[$key] : $defaultValue;
    }
public function getSetting ( $ key , $ defaultValue = null ) { return $ this -> hasSetting ( $ key ) ? $ this -> settings [ $ key ] : $ defaultValue ; }
Get app setting with given key

@param string $key
@param mixed $defaultValue
@return mixed
Get app setting with given key