Ops, not here wanted. :-(
This commit is contained in:
parent
bff57bb030
commit
ed3c53a5f8
|
@ -51,22 +51,21 @@ interface ICanHandleHttpResponses
|
||||||
*@see MessageInterface::getHeader()
|
*@see MessageInterface::getHeader()
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function getHeader(string $header): array;
|
public function getHeader(string $header);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all headers
|
* Returns all headers
|
||||||
* @see MessageInterface::getHeaders()
|
|
||||||
*
|
*
|
||||||
|
* @see MessageInterface::getHeaders()
|
||||||
* @return string[][]
|
* @return string[][]
|
||||||
*/
|
*/
|
||||||
public function getHeaders(): array;
|
public function getHeaders();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a specified header exists
|
* Check if a specified header exists
|
||||||
|
*
|
||||||
* @see MessageInterface::hasHeader()
|
* @see MessageInterface::hasHeader()
|
||||||
*
|
|
||||||
* @param string $field header field
|
* @param string $field header field
|
||||||
*
|
|
||||||
* @return boolean "true" if header exists
|
* @return boolean "true" if header exists
|
||||||
*/
|
*/
|
||||||
public function inHeader(string $field): bool;
|
public function inHeader(string $field): bool;
|
||||||
|
@ -78,7 +77,7 @@ interface ICanHandleHttpResponses
|
||||||
*
|
*
|
||||||
* @return string[][] associated header array
|
* @return string[][] associated header array
|
||||||
*/
|
*/
|
||||||
public function getHeaderArray(): array;
|
public function getHeaderArray();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return bool
|
* @return bool
|
||||||
|
@ -96,11 +95,12 @@ interface ICanHandleHttpResponses
|
||||||
public function getRedirectUrl(): string;
|
public function getRedirectUrl(): string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see MessageInterface::getBody()
|
* Getter for body
|
||||||
*
|
*
|
||||||
|
* @see MessageInterface::getBody()
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getBody(): string;
|
public function getBody();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
|
Loading…
Reference in a new issue