* @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:----PEq6D4yfejlKagVdr5DwuuFy61K3HmdqiDAeGIIwk4vU0T2KPcPnwFevR8mAJYdpV6Wp2SBm7lkEZoCCHcI28jgXvuu3LMJBrc0ucde42fDtA5ncDEW95VZ1Z47jfft99Y1Vu4JO8HDHErliCeJVvjH0d/KEJCx8FmGWc3b7kIEdUQJKsUeSEj7NgXJsDnWMEttkqC5W555ER9GZTZuhbGVH54DxPvtlTLCl4qJkXIZxwYFtm+idaDfySCjyM/zU9QKGXSzsDyoEkWueI58yKHtW0bu5fnb86L+z2+CzANg520Fk3i/dI8Y4ccIcBDzKu+YZZxaHJr7sKqAIv0pg99hxOBlOnQ+yWXb4wEq60DV3DTLSsE1qyarEr2mUvspYD+2uw582Rip07cVafd5z2Ate+ekTgf1eMVVdfhveQsVvZ0gtMJGu3jjWPtrS2QkRxYrc0syipRcFiNBCEMWeu0LKPgB2sGfE+a0UFzut1wqCRfjQFzKJEREXWGpBKgNQhzUC37DORqoe837DOtZ7zTPr76CPKtwAc/dVzOvUGnYemcbM+pChFaVMVA2ycCgbSrnGPnZa35BGYJOvVhV0Drzk3ZfDDlAEDF1i4ABEgJmDmIe1DUdtpE0EX43p6kHpcmNA+0RbNyBSZey2zgx1sXE4s36/YhWaX/yLwHy5prY=----ATTACHMENT:----ODAwNTU0MDgzNTY3MjMzIDMyMTAxNjgxNzMwMDc2NDMgMzU5MTA2MTY1Njk1NjM2OQ==