UserFirstTimeLoggedInEvent
extends Event
in package
implements
IWebhookCompatibleEvent
Base event class for the event dispatcher service
Tags
Table of Contents
Interfaces
- IWebhookCompatibleEvent
- Interface for events which can be listened to by webhooks
Properties
Methods
- __construct() : mixed
- Compatibility constructor
- getUser() : IUser
- getWebhookSerializable() : array<string|int, mixed>
- Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$user
private
IUser
$user
Methods
__construct()
Compatibility constructor
public
__construct(IUser $user) : mixed
Parameters
- $user : IUser
Tags
getUser()
public
getUser() : IUser
Tags
Return values
IUsergetWebhookSerializable()
Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
public
getWebhookSerializable() : array<string|int, mixed>
Tags
Attributes
- #[Override]
Return values
array<string|int, mixed>isPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Attributes
- #[Override]
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void