Skip to content

Commit 8c43942

Browse files
committed
[async-events] Remove command subscriber interface.
1 parent aa77ead commit 8c43942

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

AsyncProcessor.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
namespace Enqueue\AsyncEventDispatcher;
44

5-
use Enqueue\Client\CommandSubscriberInterface;
65
use Enqueue\Consumption\Result;
76
use Interop\Queue\Context;
87
use Interop\Queue\Message;
98
use Interop\Queue\Processor;
109
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
1110

12-
class AsyncProcessor implements Processor, CommandSubscriberInterface
11+
class AsyncProcessor implements Processor
1312
{
1413
/**
1514
* @var Registry
@@ -51,9 +50,4 @@ public function process(Message $message, Context $context)
5150

5251
return self::ACK;
5352
}
54-
55-
public static function getSubscribedCommand()
56-
{
57-
return Commands::DISPATCH_ASYNC_EVENTS;
58-
}
5953
}

0 commit comments

Comments
 (0)