# fluent-support/2.2.0/app/Services/Notifications/NotificationCategory.php

Fluent Support – Helpdesk &amp; Customer Support Ticket System, version 2.2.0. 47 lines.

- Page: https://pluginprobe.com/plugins/fluent-support/2.2.0/code/app/Services/Notifications/NotificationCategory.php
- Raw: https://pluginprobe.com/plugins/fluent-support/2.2.0/raw/app/Services/Notifications/NotificationCategory.php
- Modified: 2026-05-20T14:52:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-support/2.2.0/code/app/Services/Notifications/NotificationCategory.php#L10-L20`.

```php
<?php

namespace FluentSupport\App\Services\Notifications;

class NotificationCategory
{
    const MENTIONS = 'mentions';
    const TICKET_ACTIVITY = 'ticket_activity';
    const AUTOMATION_TRIGGERS = 'automation_triggers';

    public static function all()
    {
        return [
            static::MENTIONS,
            static::TICKET_ACTIVITY,
            static::AUTOMATION_TRIGGERS,
        ];
    }

    public static function options()
    {
        return [
            [
                'key'   => 'all',
                'label' => __('All', 'fluent-support')
            ],
            [
                'key'   => static::MENTIONS,
                'label' => __('Mentions', 'fluent-support')
            ],
            [
                'key'   => static::TICKET_ACTIVITY,
                'label' => __('Ticket Activity', 'fluent-support')
            ],
            [
                'key'   => static::AUTOMATION_TRIGGERS,
                'label' => __('Automation Triggers', 'fluent-support')
            ]
        ];
    }

    public static function isValid($category)
    {
        return in_array($category, static::all(), true);
    }
}

```
