IOperationCompat
Interface IOperationCompat
This interface extends IOperation to provide compatibility with old style Event classes. It is only present for a transition period and will be removed in 2023 again.
Tags
Table of Contents
- onEventCompat() : void
- Like onEvent, but used with events that are not based on \OCP\EventDispatcher\Event.
Methods
onEventCompat()
Like onEvent, but used with events that are not based on \OCP\EventDispatcher\Event.
public
onEventCompat(string $eventName, mixed $event, IRuleMatcher $ruleMatcher) : void
This method is introduced for compatibility reasons and will be removed in 2023 again.
Parameters
- $eventName : string
- $event : mixed
- $ruleMatcher : IRuleMatcher