Class yii\symfonymailer\SMimeMessageEncrypter
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | yii\symfonymailer\SMimeMessageEncrypter | |
encrypt() | yii\symfonymailer\SMimeMessageEncrypter |
Method Details
public void __construct ( \Symfony\Component\Mime\Crypto\SMimeEncrypter $encrypter ) | ||
$encrypter |
public function __construct(SMimeEncrypter $encrypter)
{
$this->encrypter = $encrypter;
}
public void encrypt ( \Symfony\Component\Mime\Message $message ) | ||
$message |
public function encrypt(Message $message): Message
{
return $this->encrypter->encrypt($message);
}