first commit
This commit is contained in:
43
vendor/php-flasher/flasher/Http/ResponseInterface.php
vendored
Normal file
43
vendor/php-flasher/flasher/Http/ResponseInterface.php
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the PHPFlasher package.
|
||||
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
|
||||
*/
|
||||
|
||||
namespace Flasher\Prime\Http;
|
||||
|
||||
interface ResponseInterface
|
||||
{
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isRedirection();
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isJson();
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isHtml();
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isAttachment();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getContent();
|
||||
|
||||
/**
|
||||
* @param string $content
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setContent($content);
|
||||
}
|
Reference in New Issue
Block a user