src/Integration/Configuration.php
public function get($key, $default = null)
    {
        $keys = array_filter(explode('.', $key));

        $length = count($keys);

        $data = $this->data;

        for ($i = 0; $i < $length; $i++) {
            $index = $keys[$i];

            $data = &$data[$index];
        }

        return $data !== null ? $data : $default;
    }
public function get($key, $default = null)
    {
        $keys = array_filter(explode('.', $key));

        $length = count($keys);

        $data = $this->data;

        for ($i = 0; $i < $length; $i++) {
            $index = $keys[$i];

            $data = &$data[$index];
        }

        return $data !== null ? $data : $default;
    }
Returns the value from the specified key.

@param  string     $key
@param  mixed|null $default
@return mixed