X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=framework%2Fmain%2Fclasses%2Frequest%2Fclass_;h=c4ab6a908ef0a39f616b572762879d4d5aefcada;hb=f861d6bc00f8a3ecf6b057f2aa93129572643896;hp=c24fa32b9b62b92d146836216bbfde2b3ce59256;hpb=f215b49d9fd8ad0559655639d5333e2ea47f4939;p=core.git diff --git a/framework/main/classes/request/class_ b/framework/main/classes/request/class_ index c24fa32b..c4ab6a90 100644 --- a/framework/main/classes/request/class_ +++ b/framework/main/classes/request/class_ @@ -2,6 +2,9 @@ // Own namespace namespace Org\Mxchange\CoreFramework\Request; +// Import framework stuff +use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware; + /** * A concrete request class * @@ -58,7 +61,7 @@ class ???Request extends BaseRequest implements Requestable { * @todo Needs to be implemented */ protected function prepareRequestData () { - $this->partialStub("Please implement this method."); + DebugMiddleware::getSelfInstance()->partialStub("Please implement this method."); } /** @@ -68,7 +71,7 @@ class ???Request extends BaseRequest implements Requestable { * @return $headerValue Value of the header or 'null' if not found */ public function getHeaderElement ($headerName) { - $this->partialStub("Please implement this method."); + DebugMiddleware::getSelfInstance()->partialStub("Please implement this method."); } /** @@ -77,7 +80,7 @@ class ???Request extends BaseRequest implements Requestable { * @return $requestMethod Used request method */ public final function getRequestMethod () { - $this->partialStub("Please implement this method."); + DebugMiddleware::getSelfInstance()->partialStub("Please implement this method."); return $_SERVER['REQUEST_METHOD']; } @@ -88,7 +91,7 @@ class ???Request extends BaseRequest implements Requestable { * @return $cookieValue Value of cookie or null if not found */ public final function readCookie ($cookieName) { - $this->partialStub("Please implement this method."); + DebugMiddleware::getSelfInstance()->partialStub("Please implement this method."); } }