Uname: Linux p3plzcpnl499967.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software: Apache
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 208.109.40.231
Your Ip: 216.73.216.26
User: nayff91c5tsx (10005085) | Group: nayff91c5tsx (10005085)
Safe Mode: OFF
Disable Function:
NONE

name : base.php
<?php

namespace JET_ABAF\Stores;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

abstract class Base {

	/**
	 * Key.
	 *
	 * Stores key name holder.
	 *
	 * @since  3.0.0
	 * @access public
	 *
	 * @var string
	 */
	public $key = 'jet_booking';

	public function __construct() {
		$this->on_init();
	}

	/**
	 * Type ID.
	 *
	 * Returns store type ID.
	 *
	 * @since  3.0.0
	 * @access public
	 *
	 * @return string
	 */
	abstract public function type_id();

	/**
	 * Set.
	 *
	 * Get data for store.
	 *
	 * @since  3.0.0
	 * @access public
	 *
	 * @param string $key   Store key name.
	 * @param string $value Store data.
	 *
	 * @return string
	 */
	abstract public function set( $key, $value );

	/**
	 * Get.
	 *
	 * Get data from store.
	 *
	 * @since  3.0.0
	 * @access public
	 *
	 * @param string $key Store key name.
	 *
	 * @return string
	 */
	abstract public function get( $key );

	/**
	 * On init.
	 *
	 * Store-specific initialization actions.
	 *
	 * @since  3.0.0
	 * @access public
	 *
	 * @return void
	 */
	public function on_init() {}

}
© 2026 GrazzMean