/webtrees/app/Http/RequestHandlers/ |
H A D | BroadcastAction.php | 42 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\BroadcastAction 45 * @param MessageService $message_service 47 public function __construct(MessageService $message_service) argument 49 $this->message_service = $message_service; 59 $recipients = $this->message_service->recipientTypes(); 75 foreach ($this->message_service->recipientUsers($to) as $to_user) { 76 if ($this->message_service->deliverMessage($user, $to_user, $subject, $body, '', $ip)) {
|
H A D | BroadcastPage.php | 36 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\BroadcastPage 39 * @param MessageService $message_service 41 public function __construct(MessageService $message_service) argument 43 $this->message_service = $message_service; 53 $recipient_types = $this->message_service->recipientTypes(); 66 'recipients' => $this->message_service->recipientUsers($to),
|
H A D | ContactAction.php | 56 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ContactAction 65 * @param MessageService $message_service 72 MessageService $message_service, argument 80 $this->message_service = $message_service; 105 if (!in_array($to_user, $this->message_service->validContacts($tree), false)) { 143 if ($this->message_service->deliverMessage($sender, $to_user, $subject, $body, $url, $ip)) {
|
H A D | ContactPage.php | 45 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ContactPage 51 * @param MessageService $message_service 56 MessageService $message_service, argument 61 $this->message_service = $message_service; 81 …if ($to_user === null || !in_array($to_user, $this->message_service->validContacts($tree), false))…
|
H A D | AccountEdit.php | 46 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AccountEdit 51 * @param MessageService $message_service 54 public function __construct(MessageService $message_service, ModuleService $module_service) argument 56 $this->message_service = $message_service; 91 'contact_methods' => $this->message_service->contactMethods(),
|
H A D | MessageAction.php | 45 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\MessageAction 50 * @param MessageService $message_service 53 public function __construct(MessageService $message_service, UserService $user_service) argument 56 $this->message_service = $message_service; 90 if ($this->message_service->deliverMessage($user, $to_user, $subject, $body, $url, $ip)) {
|
H A D | UserEditPage.php | 44 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\UserEditPage 53 * @param MessageService $message_service 59 MessageService $message_service, argument 64 $this->message_service = $message_service; 112 'contact_methods' => $this->message_service->contactMethods(),
|
H A D | ControlPanel.php | 84 private MessageService $message_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ControlPanel 99 * @param MessageService $message_service 109 MessageService $message_service, argument 118 $this->message_service = $message_service; 158 'recipients' => $this->message_service->recipientTypes(),
|
/webtrees/tests/app/Http/RequestHandlers/ |
H A D | BroadcastPageTest.php | 36 $message_service = $this->createMock(MessageService::class); 37 $message_service->method('recipientTypes')->willReturn(['foo' => 'FOO']); 42 $handler = new BroadcastPage($message_service); 50 $message_service = $this->createMock(MessageService::class); 51 $message_service->method('recipientTypes')->willReturn(['foo' => 'FOO', 'bar' => 'BAR']); 52 $message_service->method('recipientUsers')->willReturn(new Collection()); 57 $handler = new BroadcastPage($message_service);
|
H A D | AccountEditTest.php | 38 $message_service = $this->createMock(MessageService::class); 46 $handler = new AccountEdit($message_service, $module_service);
|
H A D | UserEditPageTest.php | 44 $message_service = new MessageService($mail_service, $user_service); 46 …$handler = new UserEditPage($message_service, $module_service, $tree_service, $user_servic…
|
H A D | ControlPanelControllerTest.php | 45 $message_service = new MessageService(new EmailService(), new UserService()); 54 … = new ControlPanel($admin_service, $housekeeping_service, $message_service, $module_serv…
|