コード例 #1
0
 public function __construct(IUserRepository $userRepo, IResourceRepository $resourceRepo, IAttributeRepository $attributeRepo)
 {
     $notifications = array();
     $notifications[] = new OwnerEmailDeletedNotification($userRepo, $attributeRepo);
     $notifications[] = new ParticipantDeletedEmailNotification($userRepo, $attributeRepo);
     $notifications[] = new AdminEmailDeletedNotification($userRepo, $userRepo, $attributeRepo);
     parent::__construct($notifications);
 }
コード例 #2
0
 public function __construct(IUserRepository $userRepo, IResourceRepository $resourceRepo, IAttributeRepository $attributeRepo)
 {
     $notifications = array();
     $notifications[] = new OwnerEmailApprovedNotification($userRepo, $attributeRepo);
     //		$notifications[] = new ParticipantAddedEmailNotification($userRepo);
     //		$notifications[] = new InviteeAddedEmailNotification($userRepo);
     parent::__construct($notifications);
 }