InactiveUsersEmailNotification.php
7 months ago
InactiveUsersNotificationProvider.php
7 months ago
UserEmailNotification.php
7 months ago
UserNotification.php
7 months ago
UserNotificationInterface.php
7 months ago
UserNotificationProvider.php
7 months ago
UserNotificationProviderInterface.php
4 months ago
UserNotifierTask.php
7 months ago
InactiveUsersEmailNotification.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Plugins\UsersManager\UserNotifications; |
| 10 | |
| 11 | use Piwik\Plugins\UsersManager\Emails\InactiveUsersNotificationEmail; |
| 12 | final class InactiveUsersEmailNotification extends \Piwik\Plugins\UsersManager\UserNotifications\UserEmailNotification |
| 13 | { |
| 14 | /** |
| 15 | * @param array $users A list of users this notification is about |
| 16 | * @param array $recipients A list of recipients this notification will be sent to |
| 17 | * @param array $emailData Optional additional data passed to the email notification indexed by a recipient |
| 18 | */ |
| 19 | public function __construct(array $users, array $recipients, array $emailData = []) |
| 20 | { |
| 21 | parent::__construct($users, $recipients, $emailData); |
| 22 | } |
| 23 | public function getEmailClass() : string |
| 24 | { |
| 25 | return InactiveUsersNotificationEmail::class; |
| 26 | } |
| 27 | } |
| 28 |