<?php
// Own namespace
-namespace CoreFramework\Output\;
+namespace Org\Mxchange\CoreFramework\Output\;
// Import framework stuff
-use CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
/**
* A ??? output class
*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
*
* @return void
*/
- protected function __construct () {
+ private function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
}
self::$!!!Instance = new WebOutput();
// Get the content type
- $contentType = self::$!!!Instance->getConfigInstance()->getConfigEntry('!!!_content_type');
+ $contentType = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('!!!_content_type');
// Set the content type
if (!empty($contentType)) {
// Set the header
- $applicationInstance->getResponseInstance()->addHeader('Content-type', $contentType);
- } // END - if
- } // END - if
+ FrameworkBootstrap::getResponseInstance()->addHeader('Content-type', $contentType);
+ }
+ }
// Return instance
return self::$!!!Instance;
* @throws UnsupportedOperationException If this method is called
*/
public function seek ($offset, $whence = SEEK_SET) {
- self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] offset=' . $offset . ',whence=' . $whence);
+ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('OUTPUT: offset=' . $offset . ',whence=' . $whence);
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}