I'm trying to figure out how to best use events with a command bus. Does the following code look reasonable? It seems odd that the ResendConfirmationEmailHandler
doesn't actually send an email or even have a mailer
.
class ResendConfirmationEmailHandler
{
/**
* @var UserRepository
*/
private $users;