summaryrefslogtreecommitdiff
path: root/src/Http/ResponseServiceProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http/ResponseServiceProvider.php')
-rw-r--r--src/Http/ResponseServiceProvider.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Http/ResponseServiceProvider.php b/src/Http/ResponseServiceProvider.php
new file mode 100644
index 00000000..f0d238ef
--- /dev/null
+++ b/src/Http/ResponseServiceProvider.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace Engelsystem\Http;
+
+use Engelsystem\Container\ServiceProvider;
+
+class ResponseServiceProvider extends ServiceProvider
+{
+ public function register()
+ {
+ $response = $this->app->make(Response::class);
+ $this->app->instance('response', $response);
+ }
+}