StocksNew/vendor/php-flasher/flasher/Http/RequestInterface.php

48 lines
736 B
PHP
Raw Normal View History

2024-08-27 12:03:06 +00:00
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Prime\Http;
interface RequestInterface
{
/**
* @return bool
*/
public function isXmlHttpRequest();
/**
* @return bool
*/
public function isHtmlRequestFormat();
/**
* @return bool
*/
public function hasSession();
/**
* @param string $type
*
* @return bool
*/
public function hasType($type);
/**
* @param string $type
*
* @return string|string[]
*/
public function getType($type);
/**
* @param string $type
*
* @return void
*/
public function forgetType($type);
}