Skip to content

Commit

Permalink
Adding the PSR7 interface to the Response object
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Oct 10, 2016
1 parent e748972 commit 7c5135e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Network/Response.php
Expand Up @@ -21,6 +21,7 @@
use DateTime;
use DateTimeZone;
use InvalidArgumentException;
use Psr\Http\Message\ResponseInterface;
use Zend\Diactoros\MessageTrait;

/**
Expand All @@ -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;
Expand Down

0 comments on commit 7c5135e

Please sign in to comment.