| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\Notifications; |
| 4 | |
| 5 | class EmailFrequency { |
| 6 | /** |
| 7 | * Never send email notifications |
| 8 | */ |
| 9 | public const NEVER = -1; |
| 10 | |
| 11 | /** |
| 12 | * Send email notifications immediately as they come in |
| 13 | */ |
| 14 | public const IMMEDIATELY = 0; |
| 15 | |
| 16 | /** |
| 17 | * Send daily email digests |
| 18 | */ |
| 19 | public const DAILY_DIGEST = 1; |
| 20 | |
| 21 | /** |
| 22 | * Send weekly email digests |
| 23 | */ |
| 24 | public const WEEKLY_DIGEST = 7; |
| 25 | } |