mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17487] Add wrapper method to add headers to interface
PHPBB-17487
This commit is contained in:
@@ -64,5 +64,16 @@ interface messenger_interface
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function error(string $msg): void;
|
||||
|
||||
/**
|
||||
* Add message header
|
||||
*
|
||||
* @param string $header_name Message header name
|
||||
* @param mixed $header_value Message header value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function header(string $header_name, mixed $header_value): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user