lib/classes/Swift/Message.php
public function attachSigner(Swift_Signer $signer)
    {
        if ($signer instanceof Swift_Signers_HeaderSigner) {
            $this->headerSigners[] = $signer;
        } elseif ($signer instanceof Swift_Signers_BodySigner) {
            $this->bodySigners[] = $signer;
        }

        return $this;
    }
public function attachSigner(Swift_Signer $signer)
    {
        if ($signer instanceof Swift_Signers_HeaderSigner) {
            $this->headerSigners[] = $signer;
        } elseif ($signer instanceof Swift_Signers_BodySigner) {
            $this->bodySigners[] = $signer;
        }

        return $this;
    }
public function attachSigner ( Swift_Signer $ signer ) { if ( $ signer instanceof Swift_Signers_HeaderSigner ) { $ this -> headerSigners [ ] = $ signer ; } elseif ( $ signer instanceof Swift_Signers_BodySigner ) { $ this -> bodySigners [ ] = $ signer ; } return $ this ; }
Attach a new signature handler to the message.

@return $this
Attach a new signature handler to the message .