Class yii\symfonymailer\DkimMessageSigner

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

Method Details

Hide inherited methods

__construct() public method

public void __construct ( \Symfony\Component\Mime\Crypto\DkimSigner $dkimSigner )
$dkimSigner

                public function __construct(DkimSigner $dkimSigner)
{
    $this->dkimSigner = $dkimSigner;
}

            
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->dkimSigner->sign($message, $options);
}