public function get($key, $default = false)
    {
        $this->load();

        if ($this->has($key)) {
            return $this->config[$key];
        } else {
            return $default;
        }
    }
public function get($key, $default = false)
    {
        $this->load();

        if ($this->has($key)) {
            return $this->config[$key];
        } else {
            return $default;
        }
    }
public function get ( $ key , $ default = false ) { $ this -> load ( ) ; if ( $ this -> has ( $ key ) ) { return $ this -> config [ $ key ] ; } else { return $ default ; } }
Reads a value by a given key

@param string $key
@param mixed $default Default value to be returned in $key doesn't exist
@return mixed
Reads a value by a given key