Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0941beb

Browse files
committed
release version 2.0.0
1 parent 2bfcc26 commit 0941beb

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 Symfony mailer extension Change Log
22
================================================
33

4-
2.0.0 under development
4+
2.0.0 December 30, 2021
55
-----------------------
66

77
- Initial release.

src/Logger.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
2-
3-
declare(strict_types=1);
2+
/**
3+
* @link http://www.yiiframework.com/
4+
* @copyright Copyright (c) 2008 Yii Software LLC
5+
* @license http://www.yiiframework.com/license/
6+
*/
47

58
namespace yii\symfonymailer;
69

@@ -127,7 +130,7 @@ public function debug($message, array $context = []): void
127130
/**
128131
* Logs with an arbitrary level.
129132
*
130-
* @param mixed $level
133+
* @param mixed $level
131134
* @param string|\Stringable $message
132135
* @param mixed[] $context
133136
*

src/Mailer.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
2-
3-
declare(strict_types=1);
2+
/**
3+
* @link http://www.yiiframework.com/
4+
* @copyright Copyright (c) 2008 Yii Software LLC
5+
* @license http://www.yiiframework.com/license/
6+
*/
47

58
namespace yii\symfonymailer;
69

@@ -17,33 +20,30 @@
1720

1821
final class Mailer extends BaseMailer
1922
{
20-
2123
/**
2224
* @var string message default class name.
2325
*/
2426
public $messageClass = Message::class;
2527

2628
private ?SymfonyMailer $symfonyMailer = null;
2729
private ?SMimeEncrypter $encryptor = null;
28-
2930
/**
3031
* @var DkimSigner|SMimeSigner|null
3132
*/
3233
private $signer = null;
3334
private array $dkimSignerOptions = [];
34-
3535
/**
3636
* @var TransportInterface Symfony transport instance or its array configuration.
3737
*/
3838
private $_transport = [];
3939

40+
4041
/**
4142
* @var bool whether to enable writing of the Mailer internal logs using Yii log mechanism.
4243
* If enabled [[Logger]] plugin will be attached to the [[transport]] for this purpose.
4344
* @see Logger
4445
*/
4546
public bool $enableMailerLogging = false;
46-
4747
/**
4848
* Creates Symfony mailer instance.
4949
* @return SymfonyMailer mailer instance.

src/Message.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
2-
3-
declare(strict_types=1);
2+
/**
3+
* @link http://www.yiiframework.com/
4+
* @copyright Copyright (c) 2008 Yii Software LLC
5+
* @license http://www.yiiframework.com/license/
6+
*/
47

58
namespace yii\symfonymailer;
69

@@ -16,7 +19,6 @@ final class Message extends BaseMessage
1619
{
1720
private Email $email;
1821
private string $charset = 'utf-8';
19-
2022
public function __construct()
2123
{
2224
$this->email = new Email();

0 commit comments

Comments
 (0)