src/Config.php
public function get($key, $default = null)
    {
        if ( ! array_key_exists($key, $this->settings)) {
            return $this->getDefault($key, $default);
        }

        return $this->settings[$key];
    }
public function get($key, $default = null)
    {
        if ( ! array_key_exists($key, $this->settings)) {
            return $this->getDefault($key, $default);
        }

        return $this->settings[$key];
    }
public function get ( $ key , $ default = null ) { if ( ! array_key_exists ( $ key , $ this -> settings ) ) { return $ this -> getDefault ( $ key , $ default ) ; } return $ this -> settings [ $ key ] ; }
Get a setting.

@param string $key
@param mixed  $default

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