src/Recipient/RecipientFactory.php
public static function createProcessedContactFromStdClassArray(array $contactArray): ClassValidationArray
    {
        $contacts = new ClassValidationArray();
        foreach ($contactArray as $c) {
            $contacts[] = self::createProcessedContactFromStdClass($c);
        }
        return $contacts;
    }
public static function createProcessedContactFromStdClassArray(array $contactArray): ClassValidationArray
    {
        $contacts = new ClassValidationArray();
        foreach ($contactArray as $c) {
            $contacts[] = self::createProcessedContactFromStdClass($c);
        }
        return $contacts;
    }
public static function createProcessedContactFromStdClassArray ( array $ contactArray ) : ClassValidationArray { $ contacts = new ClassValidationArray ( ) ; foreach ( $ contactArray as $ c ) { $ contacts [ ] = self :: createProcessedContactFromStdClass ( $ c ) ; } return $ contacts ; }
Take an array filled with contact stdClasses and returns a ClassValidationArray filled with ProcessedContact.
@param array $contactArray An array filled with stdClass contacts.
@return ClassValidationArray Filled with ProcessedContact.
Take an array filled with contact stdClasses and returns a ClassValidationArray filled with ProcessedContact .