storePreviousURL example

            $this->pageCache->make($this->request, $this->response);

            // Update the performance metrics             $body = $this->response->getBody();
            if ($body !== null) {
                $output = $this->displayPerformanceMetrics($body);
                $this->response->setBody($output);
            }

            // Save our current URI as the previous URI in the session             // for safer, more accurate use with `previous_url()` helper function.             $this->storePreviousURL(current_url(true));
        }

        unset($uri);

        // Is there a post-system event?         Events::trigger('post_system');

        return $this->response;
    }

    /** * You can load different configurations depending on your * current environment. Setting the environment also influences * things like logging and error reporting. * * This can be set to anything, but default usage is: * * development * testing * production * * @codeCoverageIgnore * * @deprecated 4.4.0 No longer used. Moved to index.php and spark. */
Home | Imprint | This part of the site doesn't use cookies.