class StreamedEvent (View source)

Properties

$event

The name of the event.

$data

The data of the stream.

Methods

__construct(string $event, mixed $data)

Create a new streamed event instance.

Details

__construct(string $event, mixed $data)

Create a new streamed event instance.

Parameters

string $event
mixed $data