. * * @author Daniil Gentili * @copyright 2016-2023 Daniil Gentili * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 * @link https://docs.madelineproto.xyz MadelineProto documentation */ namespace danog\MadelineProto; /** * Plugin event handler class. */ abstract class PluginEventHandler extends SimpleEventHandler { /** * Plugins can require other plugins ONLY with the getPlugins() method. */ final public static function getPluginPaths(): string|array|null { return null; } /** * Whether the plugin is enabled. */ public function isPluginEnabled(): bool { return true; } }