[Bridge] [Swiftmailer] adds deprecation notice on MessageDataCollector class.
This commit is contained in:
parent
6451384426
commit
c003bb10a9
@ -11,6 +11,8 @@
|
||||
|
||||
namespace Symfony\Bridge\Swiftmailer\DataCollector;
|
||||
|
||||
trigger_error(__CLASS__.' class is deprecated since version 2.4 and will be removed in 3.0. Use the Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector class from SwiftmailerBundle instead. Require symfony/swiftmailer-bundle package to download SwiftmailerBundle with Composer.', E_USER_DEPRECATED);
|
||||
|
||||
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
Reference in New Issue
Block a user