EventMetadata
class EventMetadata implements Arrayable
Methods
__construct(string $type, array $payload = [])
Create a new event metadata instance.
static EventMetadata
make(string $type, array $payload = [])
Fluently create a new event metadata instance.
array
toArray()
Get the instance as an array.
Details
at line 14
__construct(string $type, array $payload = [])
Create a new event metadata instance.
at line 23
static EventMetadata
make(string $type, array $payload = [])
Fluently create a new event metadata instance.
at line 31
array
toArray()
Get the instance as an array.