forked from wallabag/wallabag
Move source files directly under src/ directory
This commit is contained in:
14
src/Consumer/AMQPEntryConsumer.php
Normal file
14
src/Consumer/AMQPEntryConsumer.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\CoreBundle\Consumer;
|
||||
|
||||
use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
|
||||
use PhpAmqpLib\Message\AMQPMessage;
|
||||
|
||||
class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
|
||||
{
|
||||
public function execute(AMQPMessage $msg)
|
||||
{
|
||||
return $this->handleMessage($msg->body);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user