<?php
/**
 * Plugin deactivation.
 *
 * @package LocalGuardScanner
 */

namespace LocalGuardScanner\Application\Lifecycle;

use LocalGuardScanner\Infrastructure\WordPress\CronScheduler;

/**
 * Stops scheduled work while preserving evidence.
 */
final class Deactivator {
	/**
	 * Deactivate the plugin.
	 *
	 * @return void
	 */
	public static function deactivate() {
		CronScheduler::clear_all();
	}
}
