Skip to content

Commit 597ddad

Browse files
committed
adding an event handler for member creation from queue processor
1 parent 2775d47 commit 597ddad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Commands/PushStaleToCyclopsCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ abstract class PushStaleToCyclopsCommand extends PushStateToCyclopsCommand
99
final function executeUseCase()
1010
{
1111
$pushUseCase = new PushStaleToCyclopsUseCase($this->getService());
12-
$pushUseCase->execute($this->getList());
12+
$pushUseCase->execute($this->getList(), $this->onCustomerCreated());
1313
}
14+
15+
abstract protected function onCustomerCreated(): callable;
1416
}

0 commit comments

Comments
 (0)