lib/classes/Swift/Signers/SMimeSigner.php
protected function clearAllHeaders(Swift_Message $message)
    {
        $headers = $message->getHeaders();
        foreach ($headers->listAll() as $header) {
            $headers->removeAll($header);
        }
    }
protected function clearAllHeaders(Swift_Message $message)
    {
        $headers = $message->getHeaders();
        foreach ($headers->listAll() as $header) {
            $headers->removeAll($header);
        }
    }
protected function clearAllHeaders ( Swift_Message $ message ) { $ headers = $ message -> getHeaders ( ) ; foreach ( $ headers -> listAll ( ) as $ header ) { $ headers -> removeAll ( $ header ) ; } }
Remove all headers from a Swift message.
Remove all headers from a Swift message .