public function get($key, $default = null)
    {
        return array_key_exists($key, $this->configs) ? $this->configs[$key] : $default;
    }
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->configs) ? $this->configs[$key] : $default;
    }
public function get ( $ key , $ default = null ) { return array_key_exists ( $ key , $ this -> configs ) ? $ this -> configs [ $ key ] : $ default ; }
Get a setting.

@param string $key
@param mixed  $default

@return mixed config setting or default when not found
Get a setting .