interface SubscriberRegistryInterface

Subscriber Registry Interface

Methods

bool
addSubscriber(string $eventName, string $class, string|null $extension = null, int $priority = 0, string|null $hadnlerMethod = null)

Save subscriber info.

array
getSubscribers(array $filter = [])

Get subscribers list

bool
deleteSubscribers(array $filter)

Delete subscribers.

Details

at line 27
bool addSubscriber(string $eventName, string $class, string|null $extension = null, int $priority = 0, string|null $hadnlerMethod = null)

Save subscriber info.

Parameters

string $eventName
string $class
string|null $extension
int $priority
string|null $hadnlerMethod

Return Value

bool

at line 41
array getSubscribers(array $filter = [])

Get subscribers list

Parameters

array $filter

Return Value

array

at line 49
bool deleteSubscribers(array $filter)

Delete subscribers.

Parameters

array $filter

Return Value

bool