lib/classes/Swift/Signers/SMimeSigner.php
protected function copyHeaders(
        Swift_Message $fromMessage,
        Swift_Message $toMessage,
        array $headers = []
    ) {
        foreach ($headers as $header) {
            $this->copyHeader($fromMessage, $toMessage, $header);
        }
    }
protected function copyHeaders(
        Swift_Message $fromMessage,
        Swift_Message $toMessage,
        array $headers = []
    ) {
        foreach ($headers as $header) {
            $this->copyHeader($fromMessage, $toMessage, $header);
        }
    }
protected function copyHeaders ( Swift_Message $ fromMessage , Swift_Message $ toMessage , array $ headers = [ ] ) { foreach ( $ headers as $ header ) { $ this -> copyHeader ( $ fromMessage , $ toMessage , $ header ) ; } }
Copy named headers from one Swift message to another.
Copy named headers from one Swift message to another .