first commit
This commit is contained in:
47
vendor/php-flasher/flasher/Http/RequestInterface.php
vendored
Normal file
47
vendor/php-flasher/flasher/Http/RequestInterface.php
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
<?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);
|
||||
}
|
Reference in New Issue
Block a user