]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Consumer/AMPQEntryConsumer.php
Enable Redis async import
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Consumer / AMPQEntryConsumer.php
similarity index 90%
rename from src/Wallabag/ImportBundle/Consumer/AMPQ/EntryConsumer.php
rename to src/Wallabag/ImportBundle/Consumer/AMPQEntryConsumer.php
index 72a3260a432542560e1b5b9ce964640c3d21afa9..39bb53756a97693be5342a1fb96fe7bb92220bb3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Wallabag\ImportBundle\Consumer\AMPQ;
+namespace Wallabag\ImportBundle\Consumer;
 
 use Doctrine\ORM\EntityManager;
 use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
@@ -12,7 +12,7 @@ use Wallabag\CoreBundle\Entity\Tag;
 use Psr\Log\LoggerInterface;
 use Psr\Log\NullLogger;
 
-class EntryConsumer implements ConsumerInterface
+class AMPQEntryConsumer implements ConsumerInterface
 {
     private $em;
     private $userRepository;
@@ -64,5 +64,7 @@ class EntryConsumer implements ConsumerInterface
 
             return;
         }
+
+        $this->logger->info('Content with url ('.$entry->getUrl().') imported !');
     }
 }