@@ 41-48 (lines=8) @@ | ||
38 | */ |
|
39 | private $delay; |
|
40 | ||
41 | public function setDependencies(LoggerInterface $logger, EntityManagerInterface $em, UserRepository $userRepo, UserApi $userApi, int $delay): void |
|
42 | { |
|
43 | $this->logger = $logger; |
|
44 | $this->em = $em; |
|
45 | $this->userRepo = $userRepo; |
|
46 | $this->userApi = $userApi; |
|
47 | $this->delay = $delay; |
|
48 | } |
|
49 | ||
50 | /** |
|
51 | * {@inheritdoc} |
@@ 65-72 (lines=8) @@ | ||
62 | private $progress; |
|
63 | ||
64 | ||
65 | public function setDeps(LoggerInterface $logger, EntityManagerInterface $em, UserRepository $userRepo, UserApi $userApi, SubscriptionsManager $subscriptionsManager): void |
|
66 | { |
|
67 | $this->logger = $logger; |
|
68 | $this->em = $em; |
|
69 | $this->userRepo = $userRepo; |
|
70 | $this->api = $userApi; |
|
71 | $this->subscriptionManager = $subscriptionsManager; |
|
72 | } |
|
73 | ||
74 | public function setApiDelay(int $microSecs): void |
|
75 | { |