<?php
	/**
	 * The file contains a base class for update items of plugins.
	 *
	 * @author Alex Kovalev <alex.kovalevv@gmail.com>
	 * @copyright (c) 2018, Webcraftic Ltd
	 *
	 * @package factory-core
	 * @since 1.0.0
	 */

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

	if( !class_exists('Wbcr_Factory404_Update') ) {
		/**
		 * Plugin Activator
		 *
		 * @since 1.0.0
		 */
		abstract class Wbcr_Factory404_Update {

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

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

			abstract function install();
		}
	}