SparkPost\Transmission::formatBlindCarbonCopy PHP 메소드

formatBlindCarbonCopy() 개인적인 메소드

Formats bcc list into recipients list.
private formatBlindCarbonCopy ( array $payload ) : array
$payload array - the request body
리턴 array - the modified request body
    private function formatBlindCarbonCopy($payload)
    {
        //If there's a list of BCC recipients, move them into the correct format
        if (isset($payload['bcc'])) {
            $payload = $this->addListToRecipients($payload, 'bcc');
        }
        return $payload;
    }