src/Http/RequestFactory.php
protected function createProperties(array $server): IDictionary
    {
        $properties = new HashTable();

        // Set the client IP address as a property
        if (($clientIPAddress = $this->getClientIPAddress($server)) !== null) {
            $properties->add(self::CLIENT_IP_ADDRESS_PROPERTY_NAME, $clientIPAddress);
        }

        return $properties;
    }
protected function createProperties(array $server): IDictionary
    {
        $properties = new HashTable();

        // Set the client IP address as a property
        if (($clientIPAddress = $this->getClientIPAddress($server)) !== null) {
            $properties->add(self::CLIENT_IP_ADDRESS_PROPERTY_NAME, $clientIPAddress);
        }

        return $properties;
    }
protected function createProperties ( array $ server ) : IDictionary { $ properties = new HashTable ( ) ; // Set the client IP address as a property if ( ( $ clientIPAddress = $ this -> getClientIPAddress ( $ server ) ) !== null ) { $ properties -> add ( self :: CLIENT_IP_ADDRESS_PROPERTY_NAME , $ clientIPAddress ) ; } return $ properties ; }
Creates properties

@param array $server The global server array
@return IDictionary The list of properties
@throws RuntimeException Thrown if any of the headers' hash keys could not be calculated
Creates properties