<?php
/**
 * Postomatic uninstall functionality.
 *
 * @package Postomatic
 * @subpackage Core
 * @since      1.0.0
 */

namespace Postomatic\Core;

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Handles plugin deactivation functionality.
 *
 * This class contains methods to clean up after the plugin is deactivated
 * including removing options, dropping custom tables, and notifying external services.
 *
 * @since 1.0.0
 */
class Uninstall {

	/**
	 * Performs cleanup operations when the plugin is uninstalled.
	 *
	 * @return void
	 * @since  1.0.0
	 */
	public static function cleanup() {
		self::delete_tables();
	}

	/**
	 * Deletes custom plugin tables from the database during uninstall.
	 *
	 * @return void
	 * @since  1.0.0
	 */
	private static function delete_tables() {
		// will Implement later.
	}
}
