Skip to content
Browse files

Adding the PSR7 interface to the Response object

  • Loading branch information...
burzum committed Oct 10, 2016
1 parent e748972 commit 7c5135e1013804077eb9d3810f4816cdb03caaa3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Network/Response.php
@@ -21,6 +21,7 @@
use DateTime;
use DateTimeZone;
use InvalidArgumentException;
use Psr\Http\Message\ResponseInterface;
use Zend\Diactoros\MessageTrait;
@@ -29,7 +30,7 @@
* By default controllers will use this class to render their response. If you are going to use
* a custom response class it should subclass this object in order to ensure compatibility.
class Response
class Response implements ResponseInterface
use MessageTrait;

0 comments on commit 7c5135e

Please sign in to comment.
You can’t perform that action at this time.