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

44 lines
644 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 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);
}