Пример #1
0
 public function onPasswordRegenerate(User $u)
 {
     $this->notifService->notifyNewPassword($u);
     $this->logger->addInfo("User Listener - onPasswordRegenerate - user {$u} notified");
     $this->logger->addDebug("User Listener - onPasswordRegenerate - new password for user {$u} is {$u->provideRawPassword()}");
 }
Пример #2
0
 public function onCreate(SeasonApplication $app)
 {
     $this->notifService->notifyNewSeasonApplication($app);
     $this->logger->addInfo("System Module - Application Listener - onCreated - owner of season application {$app} has been notified");
 }
Пример #3
0
 public function onCreate(Payment $p)
 {
     $this->notifService->notifyNewPayment($p);
     $this->logger->addInfo("System Module - Payments Listener - onCreate - owner of {$p} has been notified");
 }
Пример #4
0
 public function onCreate(MailBoxEntry $entry)
 {
     $this->notifService->notifyNewMessage($entry);
     $this->logger->addInfo("System Module - Messages Listener - onCreate - recipient of {$entry} has been notified");
 }