One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
vendor
/
php-http
/
message
/
src
/
View File Name :
Formatter.php
<?php namespace Http\Message; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * Formats a request and/or a response as a string. * * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> * * The formatResponseForRequest method will be added to this interface in the next major version, replacing the formatRequest method. * Meanwhile, callers SHOULD check the formatter for the existence of formatResponseForRequest and call that if available. * * @method string formatResponseForRequest(ResponseInterface $response, RequestInterface $request) Formats a response in context of its request. */ interface Formatter { /** * Formats a request. * * @return string */ public function formatRequest(RequestInterface $request); /** * @deprecated since 1.13, use formatResponseForRequest() instead * * Formats a response. * * @return string */ public function formatResponse(ResponseInterface $response); }