Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | /** |
6 | * This file is part of php-fast-forward/http-message. |
7 | * |
8 | * This source file is subject to the license bundled |
9 | * with this source code in the file LICENSE. |
10 | * |
11 | * @link https://github.com/php-fast-forward/http-message |
12 | * @copyright Copyright (c) 2025 Felipe Sayão Lobato Abreu <github@mentordosnerds.com> |
13 | * @license https://opensource.org/licenses/MIT MIT License |
14 | */ |
15 | |
16 | namespace FastForward\Http\Message; |
17 | |
18 | use Psr\Http\Message\ResponseInterface; |
19 | |
20 | /** |
21 | * Interface PayloadResponseInterface. |
22 | * |
23 | * Defines the contract for payload-specific HTTP response implementations. |
24 | * Implementations of this interface MUST provide access to a payload and comply with PSR-7 ResponseInterface. |
25 | * |
26 | * This interface SHALL be used to identify responses intended to transmit payloads with proper headers. |
27 | */ |
28 | interface PayloadResponseInterface extends PayloadAwareInterface, PayloadImmutableInterface, ResponseInterface {} |