diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/AbstractImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/AbstractImport.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Import/AbstractImport.php b/src/Wallabag/ImportBundle/Import/AbstractImport.php index 39befa7b..4cd8e846 100644 --- a/src/Wallabag/ImportBundle/Import/AbstractImport.php +++ b/src/Wallabag/ImportBundle/Import/AbstractImport.php | |||
@@ -9,7 +9,7 @@ use Wallabag\CoreBundle\Helper\ContentProxy; | |||
9 | use Wallabag\CoreBundle\Entity\Entry; | 9 | use Wallabag\CoreBundle\Entity\Entry; |
10 | use Wallabag\CoreBundle\Entity\Tag; | 10 | use Wallabag\CoreBundle\Entity\Tag; |
11 | use Wallabag\UserBundle\Entity\User; | 11 | use Wallabag\UserBundle\Entity\User; |
12 | use OldSound\RabbitMqBundle\RabbitMq\Producer; | 12 | use OldSound\RabbitMqBundle\RabbitMq\ProducerInterface; |
13 | 13 | ||
14 | abstract class AbstractImport implements ImportInterface | 14 | abstract class AbstractImport implements ImportInterface |
15 | { | 15 | { |
@@ -35,12 +35,12 @@ abstract class AbstractImport implements ImportInterface | |||
35 | } | 35 | } |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * Set RabbitMQ Producer to send each entry to a queue. | 38 | * Set RabbitMQ/Redis Producer to send each entry to a queue. |
39 | * This method should be called when user has enabled RabbitMQ. | 39 | * This method should be called when user has enabled RabbitMQ. |
40 | * | 40 | * |
41 | * @param Producer $producer | 41 | * @param ProducerInterface $producer |
42 | */ | 42 | */ |
43 | public function setRabbitmqProducer(Producer $producer) | 43 | public function setProducer(ProducerInterface $producer) |
44 | { | 44 | { |
45 | $this->producer = $producer; | 45 | $this->producer = $producer; |
46 | } | 46 | } |