19declare(strict_types=1);
25 public static function handleEvent(
string $component,
string $event, array $parameter): void
27 if ($event ===
'deleteUser') {
30 foreach ($repo->getUserSubscriptions() as $subscription) {
31 $repo->deleteSubscription($subscription->getAuth());
static handleEvent(string $component, string $event, array $parameter)
Handle an event in a listener.
Interface for event handling.