File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/Symfony/Bridge/Swiftmailer/DataCollector Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,15 @@ class MessageDataCollector extends DataCollector
41
41
*/
42
42
public function __construct (ContainerInterface $ container , $ isSpool )
43
43
{
44
+ trigger_error (
45
+ 'Symfony\Bridge\Swiftmailer\DataCollector\MessageDataCollector class '
46
+ .' is deprecated since version 2.4 and will be removed in 3.0. Use the '
47
+ .' Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector '
48
+ .' class from SwiftmailerBundle instead. The SwiftmailerBundle package '
49
+ .' can be downloaded with Composer. See https://packagist.org/packages/symfony/swiftmailer-bundle. ' ,
50
+ E_USER_DEPRECATED
51
+ );
52
+
44
53
$ this ->container = $ container ;
45
54
$ this ->isSpool = $ isSpool ;
46
55
}
You can’t perform that action at this time.
0 commit comments