protected function addRequestInformation(&$payload)
    {
        if ($this->container->bound('request')) {
            $payload = array_merge($payload, [
                'ip_address' => $this->ipAddress(),
                'user_agent' => $this->userAgent(),
            ]);
        }

        return $this;
    }
protected function addRequestInformation(&$payload)
    {
        if ($this->container->bound('request')) {
            $payload = array_merge($payload, [
                'ip_address' => $this->ipAddress(),
                'user_agent' => $this->userAgent(),
            ]);
        }

        return $this;
    }
protected function addRequestInformation ( & $ payload ) { if ( $ this -> container -> bound ( 'request' ) ) { $ payload = array_merge ( $ payload , [ 'ip_address' => $ this -> ipAddress ( ) , 'user_agent' => $ this -> userAgent ( ) , ] ) ; } return $ this ; }
Add the request information to the session payload.

@param  array  $payload
@return $this
Add the request information to the session payload .