* * SPDX-License-Identifier: MIT * License-Filename: LICENSE */ /** * Common interface for PicoDeprecated plugin API compatibility plugins * * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License * @version 2.1 */ interface PicoPluginApiCompatPluginInterface extends PicoCompatPluginInterface { /** * Handles custom events for plugins of the supported API version * * @param string $eventName name of the triggered event * @param array $params passed parameters */ public function handleCustomEvent($eventName, array $params = array()); /** * Returns the API version this plugin maintains backward compatibility for * * @return int */ public function getApiVersionSupport(); }