final class NotificationState extends Enum

Class NotificationState

Constants

NEW

READ

SEEN

PROCESSED

DEFAULT_STATES

PRE_STATES

Methods

static array
constants()

Returns all existing constants

from  Enum
static bool
has(string $value)

Check if the enum has the given value

from  Enum
static bool
is(string $value, array $cmp)

Check if the enum is the given value

from  Enum
static bool
userHasReacted($status)

No description

Details

in Enum at line 61
static array constants()

Returns all existing constants

Return Value

array

in Enum at line 26
static bool has(string $value)

Check if the enum has the given value

Parameters

string $value

Return Value

bool

in Enum at line 38
static bool is(string $value, array $cmp)

Check if the enum is the given value

Parameters

string $value
array $cmp

Return Value

bool

at line 38
static bool userHasReacted($status)

No description

Parameters

$status

Return Value

bool