| 1 | <?php |
||
| 12 | class MovieSyncProcessor implements PsrProcessor, TopicSubscriberInterface |
||
| 13 | { |
||
| 14 | const ADD_MOVIES_TMDB = 'addMoviesTMDB'; |
||
| 15 | const UPDATE_MOVIES_TMDB = 'updateMoviesTMDB'; |
||
| 16 | |||
| 17 | private $em; |
||
| 18 | private $logger; |
||
| 19 | |||
| 20 | public function __construct(EntityManagerInterface $em, LoggerInterface $logger) |
||
| 25 | |||
| 26 | public function process(PsrMessage $message, PsrContext $session) |
||
| 44 | |||
| 45 | 1 | public static function getSubscribedTopics() |
|
| 49 | } |