<?php
/**
 * The file contains a base class for update items of plugins.
 *
 * @author        Alex Kovalev <alex.kovalevv@gmail.com>, repo: https://github.com/alexkovalevv
 * @author        Webcraftic <wordpress.webraftic@gmail.com>, site: https://webcraftic.com
 *
 * @package       factory-core
 * @since         1.0.0
 */

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


/**
 * Plugin Activator
 *
 * @since 1.0.0
 */
abstract class Wbcr_Factory474_Update {

	/**
	 * Current plugin
	 *
	 * @var Wbcr_Factory474_Plugin
	 */
	var $plugin;

	public function __construct( Wbcr_Factory474_Plugin $plugin ) {
		$this->plugin = $plugin;
	}

	abstract function install();

	//abstract function rollback();
}
