@@ 42-52 (lines=11) @@ | ||
39 | /** @var ProgressBar */ |
|
40 | private $progress; |
|
41 | ||
42 | public function __construct(EntityManagerInterface $em, LoggerInterface $logger, UserRepository $userRepo, UserApi $api, int $apiDelay, int $appUserId) |
|
43 | { |
|
44 | parent::__construct(); |
|
45 | ||
46 | $this->em = $em; |
|
47 | $this->logger = $logger; |
|
48 | $this->userRepo = $userRepo; |
|
49 | $this->api = $api; |
|
50 | $this->apiDelay = $apiDelay; |
|
51 | $this->appUserId = $appUserId; |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * {@inheritdoc} |
@@ 48-66 (lines=19) @@ | ||
45 | /** @var ProgressBar */ |
|
46 | private $progress; |
|
47 | ||
48 | public function __construct( |
|
49 | EntityManagerInterface $em, |
|
50 | LoggerInterface $logger, |
|
51 | UserRepository $userRepo, |
|
52 | UserApi $api, |
|
53 | SubscriptionsManager $subscriptionManager, |
|
54 | int $apiDelay, |
|
55 | int $appUserId |
|
56 | ) { |
|
57 | parent::__construct(); |
|
58 | ||
59 | $this->em = $em; |
|
60 | $this->logger = $logger; |
|
61 | $this->userRepo = $userRepo; |
|
62 | $this->api = $api; |
|
63 | $this->subscriptionManager = $subscriptionManager; |
|
64 | $this->apiDelay = $apiDelay; |
|
65 | $this->appUserId = $appUserId; |
|
66 | } |
|
67 | ||
68 | protected function configure() |
|
69 | { |