Skip to content

Commit b7d1939

Browse files
committed
Add Null transport to plugin which validates configuration
1 parent 6f64fbc commit b7d1939

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Plugin/Model/Config/ConfigPlugin.php

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Enqueue\Magento2\Plugin\Model\Config;
44

55
use \Enqueue\AmqpExt\AmqpContext;
6+
use Enqueue\Null\NullContext;
67
use \Enqueue\Stomp\StompContext;
78
use \Enqueue\Fs\FsContext;
89
use \Enqueue\Sqs\SqsContext;
@@ -55,6 +56,11 @@ class ConfigPlugin
5556
'name' => 'Doctrine DBAL',
5657
'package' => 'enqueue/dbal',
5758
'class' => DbalContext::class,
59+
],
60+
'null' => [
61+
'name' => 'Null transport',
62+
'package' => 'enqueue/null',
63+
'class' => NullContext::class
5864
]
5965
];
6066

0 commit comments

Comments
 (0)