StocksNew/vendor/php-flasher/flasher/Http/RequestInterface.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

48 lines
736 B
PHP

<?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);
}