notification grouping
This commit is contained in:
@@ -47,6 +47,11 @@ class Notification extends Entity
|
||||
public const TYPE_USER_REACTION = 'UserReaction';
|
||||
public const TYPE_SYSTEM = 'System';
|
||||
|
||||
public const ATTR_READ = 'read';
|
||||
public const ATTR_USER_ID = 'userId';
|
||||
public const ATTR_ACTION_ID = 'actionId';
|
||||
public const ATTR_NUMBER = 'number';
|
||||
|
||||
public function getType(): ?string
|
||||
{
|
||||
return $this->get('type');
|
||||
@@ -160,4 +165,12 @@ class Notification extends Entity
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 9.2.0
|
||||
*/
|
||||
public function getActionId(): ?string
|
||||
{
|
||||
return $this->get('actionId');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user