src/Host.php
public function get(string $key, $default = null)
    {
        $result = $this->iterateConfig($key);

        return is_null($result) ? $default : $result;
    }
public function get(string $key, $default = null)
    {
        $result = $this->iterateConfig($key);

        return is_null($result) ? $default : $result;
    }
public function get ( string $ key , $ default = null ) { $ result = $ this -> iterateConfig ( $ key ) ; return is_null ( $ result ) ? $ default : $ result ; }
Return given key from array.

@param  string $key
@param  mixed  $default
@return mixed
Return given key from array .