Class yii\symfonymailer\SMimeMessageSigner

Inheritanceyii\symfonymailer\SMimeMessageSigner
Implementsyii\symfonymailer\MessageSignerInterface
Source Code https://github.com/yiisoft/yii2-symfonymailer/blob/master/src/SMimeMessageSigner.php

Method Details

Hide inherited methods

__construct() public method

public void __construct ( \Symfony\Component\Mime\Crypto\SMimeSigner $signer )
$signer

                public function __construct(SMimeSigner $signer)
{
    $this->signer = $signer;
}

            
sign() public method

public void sign ( \Symfony\Component\Mime\Message $message, array $options = [] )
$message
$options

                public function sign(Message $message, array $options = []): Message
{
    return $this->signer->sign($message);
}