<?php

namespace TotalPollVendors\TotalCore\Contracts\Foundation;
! defined( 'ABSPATH' ) && exit();


use JsonSerializable;
use Serializable;
use TotalPollVendors\TotalCore\Contracts\Helpers\Arrayable;

/**
 * Interface Environment
 * @package TotalPollVendors\TotalCore\Contracts\Foundation
 */
interface Environment extends \ArrayAccess, Serializable, JsonSerializable, Arrayable {
	/**
	 * Get item.
	 *
	 * @param      $key
	 * @param null $default
	 *
	 * @return mixed
	 */
	public function get( $key, $default = null );

	/**
	 * Set item.
	 *
	 * @param $key
	 * @param $value
	 *
	 * @return mixed
	 */
	public function set( $key, $value );
}