Nextcloud PHP API (stable19)

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
since
18.0.0
deprecated

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
Tags
since
18.0.0
deprecated

Search results