nextcloud/lib/private/Hooks/PublicEmitter.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
677 B
PHP
Raw Normal View History

2013-05-27 14:20:06 -04:00
<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2013-05-27 14:20:06 -04:00
*/
namespace OC\Hooks;
/**
* @deprecated 18.0.0 use events and the \OCP\EventDispatcher\IEventDispatcher service
*/
2013-05-27 14:20:06 -04:00
class PublicEmitter extends BasicEmitter {
/**
* @param string $scope
* @param string $method
* @param array $arguments optional
* @deprecated 18.0.0 use \OCP\EventDispatcher\IEventDispatcher::dispatchTyped
*
* @suppress PhanAccessMethodProtected
2013-05-27 14:20:06 -04:00
*/
public function emit($scope, $method, array $arguments = []) {
2013-05-27 14:20:06 -04:00
parent::emit($scope, $method, $arguments);
}
}