summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/Stub/MessageTraitImplementation.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-11 15:05:55 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-14 00:17:19 +0200
commitf3f05f6cc4bef3338dbfb6eb340da4fb1c5ba1e1 (patch)
tree88f9767bfb40a68776d4f458ac60c6edfd02e286 /tests/Unit/Http/Stub/MessageTraitImplementation.php
parent20c03a155d2017101a098cefa602116a4a331d71 (diff)
Make Engelsystem\Http\Response PSR-7 compatible
Diffstat (limited to 'tests/Unit/Http/Stub/MessageTraitImplementation.php')
-rw-r--r--tests/Unit/Http/Stub/MessageTraitImplementation.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Unit/Http/Stub/MessageTraitImplementation.php b/tests/Unit/Http/Stub/MessageTraitImplementation.php
new file mode 100644
index 00000000..d78fd0b2
--- /dev/null
+++ b/tests/Unit/Http/Stub/MessageTraitImplementation.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace Engelsystem\Test\Unit\Http\Stub;
+
+use Engelsystem\Http\MessageTrait;
+use Psr\Http\Message\MessageInterface;
+use Symfony\Component\HttpFoundation\Response;
+
+class MessageTraitImplementation extends Response implements MessageInterface
+{
+ use MessageTrait;
+}