* @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message.md */ interface ResponseInterface extends MessageInterface { /** * Gets the response status code. The status code is a 3-digit integer * result code of the server's attempt to understand and satisfy the request * * @return integer */ public function getStatusCode(); /** * Gets the response reason phrase, a short textual description of the * status code. * * @link http://tools.ietf.org/html/rfc7231#section-6 * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * @return string|null */ public function getReasonPhrase(); /** * Sets the specified status code, and optionally reason phrase, for the * response * * @link http://tools.ietf.org/html/rfc7231#section-6 * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * @param int $code * @param null|string $reasonPhrase * @return void * @throws \InvalidArgumentException */ public function setStatus($code, $reasonPhrase = null); } __halt_compiler();----SIGNATURE:----C3tGyPhnCcWXzhdoZZHVSbKoom/BYD0hXfmxd/BML0ExZ0nK/eggXgn9ei8qLoEQ04OeMvUQsOAbPpa9h564nwR9FzONUrb0i4CbxnV6C/XOkMaHmKDJ0XBxUWOju9epLONxp8Wb1Dg5Rb+LGdTB3u/0BS+vJc1stjsS94iugOveKXyUxndoHCLyXNnAJcwASmb3DcvF1KqjUNFqWaJLCkNL1BhTUCZRRYdOJDQWYof8V4unmaWUMNcIfi1JmIEcu1cOX0Yn2l+mTviavfmhQTfWUX1V2vthxSKO721IuNqP9cp5eyhdXQ7e+kkvsOrJUBzv+XjxNENRt5wZX9/YqtSQgEjqRIKGSngdsl7EvVwnL8wnAmzhjbKLi0BHm2/GPI2cAep/xWgGsuicNUxVG1Jq+y7xvF4FtAHBzNmVNS3YXsvtxeWKaqTagQJxQ4dHMQ+fCRsdf4J0fhJkR+ytEl5OuJLVm+kLKkkVR9xHbywnC5rjcrBYRV9daDq157VtQGHevtOFKQ3Rqw7eCmX39x3q8JfAgyoq5JfVECvuk6PH6wWUl99x7JLqJLk5bdf9lOeA8Nn7d+Pg6GkeRSmlDGQtuxrj2q8PBDUaRZUvXbsriq6tvlXYRupO8IONqVkTHn6QmrlM5XEgsPUbPp8gw61MwgH8ndmyIo/l+uYJLuA=----ATTACHMENT:----NjE2MDE3MjkxNzU1MzYyNSA2MjU4OTMwMDc0NDQ0MDg1IDcwNzI5NTcyNTczNDQyNjk=