src/EB/SDK/RecipientSubscribe/RecipientFactory.php
public static function createSimpleAnonymousRecipient($emailAddress, $countryCode)
    {
        return (new Recipient())->setHash(self::getEmailAddressHash($emailAddress))
            ->setCountry($countryCode)
            ->setProvider(self::getDomainFromEmail($emailAddress));
    }
public static function createSimpleAnonymousRecipient($emailAddress, $countryCode)
    {
        return (new Recipient())->setHash(self::getEmailAddressHash($emailAddress))
            ->setCountry($countryCode)
            ->setProvider(self::getDomainFromEmail($emailAddress));
    }
public static function createSimpleAnonymousRecipient ( $ emailAddress , $ countryCode ) { return ( new Recipient ( ) ) -> setHash ( self :: getEmailAddressHash ( $ emailAddress ) ) -> setCountry ( $ countryCode ) -> setProvider ( self :: getDomainFromEmail ( $ emailAddress ) ) ; }
Creates an anonymous recipient with the mandatory information.

@param string $emailAddress The recipient email address to be converted into an hash
@param string $countryCode The recipient 2 letters country code

@return Recipient
Creates an anonymous recipient with the mandatory information .