WithoutBroadcasting
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.
at line 43
static bool
excludes(array $events, StreamEvent $event)
Determine if the given event is excluded by the resolved skip set.
at line 53
static array
eventsFor(object|null $target)
Get the stream event classes that should not be broadcast for the target agent.