mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Automatic header generation
This commit is contained in:
parent
247c83a97f
commit
75622e46f7
|
|
@ -16,7 +16,6 @@
|
|||
namespace phpOMS\Message;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Response interface.
|
||||
*
|
||||
|
|
@ -30,4 +29,15 @@ namespace phpOMS\Message;
|
|||
*/
|
||||
interface ResponseInterface extends MessageInterface
|
||||
{
|
||||
/**
|
||||
* Generate header automatically based on code.
|
||||
*
|
||||
* @param \int $code HTTP status code
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function generateHeader(\int $code);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user