Files
wallabag/src/Wallabag/ImportBundle/Consumer/AMQPEntryConsumer.php
Jeremy Benoist ac87e0db2a AMPQ -> AMQP
2016-09-14 10:18:02 +02:00

18 lines
369 B
PHP

<?php
namespace Wallabag\ImportBundle\Consumer;
use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
use PhpAmqpLib\Message\AMQPMessage;
class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
{
/**
* {@inheritdoc}
*/
public function execute(AMQPMessage $msg)
{
return $this->handleMessage($msg->body);
}
}