Documentation

Notification
in package
Uses SerializesModels

Table of Contents

$id  : string
The unique identifier for the notification.
__sleep()  : array<string|int, mixed>
Prepare the instance for serialization.
__wakeup()  : void
Restore the model after serialization.
broadcastOn()  : array<string|int, mixed>
Get the channels the event should broadcast on.
getPropertyValue()  : mixed
Get the property value for the given property.

Properties

$id

The unique identifier for the notification.

public string $id

Methods

__sleep()

Prepare the instance for serialization.

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__wakeup()

Restore the model after serialization.

public __wakeup() : void
Return values
void

broadcastOn()

Get the channels the event should broadcast on.

public broadcastOn() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPropertyValue()

Get the property value for the given property.

protected getPropertyValue(ReflectionProperty $property) : mixed
Parameters
$property : ReflectionProperty
Return values
mixed

Search results