<?php
/**
 * Captcha module base
 *
 * Bridges {@see \WP_PowerSuite\Core\AbstractModule} with {@see ProviderInterface}
 * so captcha providers use the standard registerHooks() contract while keeping
 * the shared provider API for cross-module code (dashboard widget, overlap checks).
 *
 * @package WP_PowerSuite\Captcha
 * @since 1.1.0
 */

namespace WP_PowerSuite\Captcha;

use WP_PowerSuite\Core\AbstractModule;

abstract class AbstractCaptchaModule extends AbstractModule implements ProviderInterface {

	/**
	 * Default provider slug matches the module ID stored in wp_powersuite_settings.
	 */
	public function getProviderSlug(): string {
		return $this->getId();
	}
}
