Notifier/src/Kreta/Notifier/Infrastructure/Symfony/CliCommand/LoadFakeNotificationsCommand.php 1 location
|
@@ 36-43 (lines=8) @@
|
| 33 |
|
private $redis; |
| 34 |
|
private $userFakeData; |
| 35 |
|
|
| 36 |
|
public function __construct(CommandBus $commandBus, Client $redis, UserFakeData $userFakeData) |
| 37 |
|
{ |
| 38 |
|
$this->commandBus = $commandBus; |
| 39 |
|
$this->redis = $redis; |
| 40 |
|
$this->userFakeData = $userFakeData; |
| 41 |
|
|
| 42 |
|
parent::__construct('kreta:notifier:inbox:notification:load'); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
protected function execute(InputInterface $input, OutputInterface $output) |
| 46 |
|
{ |
Notifier/src/Kreta/Notifier/Infrastructure/Symfony/CliCommand/LoadFakeUsersCommand.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
private $redis; |
| 29 |
|
private $userFakeData; |
| 30 |
|
|
| 31 |
|
public function __construct(CommandBus $commandBus, Client $redis, UserFakeData $userFakeData) |
| 32 |
|
{ |
| 33 |
|
$this->commandBus = $commandBus; |
| 34 |
|
$this->redis = $redis; |
| 35 |
|
$this->userFakeData = $userFakeData; |
| 36 |
|
|
| 37 |
|
parent::__construct('kreta:notifier:inbox:user:load'); |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
protected function execute(InputInterface $input, OutputInterface $output) |
| 41 |
|
{ |