src/Web/RequestHelper.php
public function getUserHost()
    {
        foreach ($this->ipHeaders as $ipHeader) {
            if ($this->getHeaders()->has($ipHeader)) {
                return gethostbyaddr(trim(explode(',', $this->getHeaders()->get($ipHeader))[0]));
            }
        }

        return $this->getRemoteHost();
    }
public function getUserHost()
    {
        foreach ($this->ipHeaders as $ipHeader) {
            if ($this->getHeaders()->has($ipHeader)) {
                return gethostbyaddr(trim(explode(',', $this->getHeaders()->get($ipHeader))[0]));
            }
        }

        return $this->getRemoteHost();
    }
Returns the user host name.
The HOST is determined using headers and / or `$_SERVER` variables.
@return string|null user host name, null if not available