final class WithoutBroadcasting

Properties

StreamEvent>> $events

The stream event classes that should not be broadcast.

Methods

__construct(string ...$events)

Create a new attribute instance.

static bool
excludes(array $events, StreamEvent $event)

Determine if the given event is excluded by the resolved skip set.

static array
eventsFor(object|null $target)

Get the stream event classes that should not be broadcast for the target agent.

Details

at line 27
__construct(string ...$events)

Create a new attribute instance.

Parameters

string ...$events

at line 43
static bool excludes(array $events, StreamEvent $event)

Determine if the given event is excluded by the resolved skip set.

Parameters

array $events
StreamEvent $event

Return Value

bool

at line 53
static array eventsFor(object|null $target)

Get the stream event classes that should not be broadcast for the target agent.

Parameters

object|null $target

Return Value

array