Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / classes / output / class_
index dbca8d465c84861fcf98a0ade52224852b10ab19..f2894d84dd155e046a7a69eeceb2947fdae4e0f7 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output\;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+
 /**
  * A ??? output class
  *
@@ -55,7 +62,7 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
                        // Set the content type
                        if (!empty($contentType)) {
                                // Set the header
-                               $applicationInstance->getResponseInstance()->addHeader('Content-type', $contentType);
+                               FrameworkBootstrap::getResponseInstance()->addHeader('Content-type', $contentType);
                        } // END - if
                } // END - if