FeatureResponse example

        Services::router()->setDirectory(null);

        // Ensure the output buffer is identical so no tests are risky         while (\ob_get_level() > $buffer) {
            \ob_end_clean(); // @codeCoverageIgnore         }

        while (\ob_get_level() < $buffer) {
            \ob_start(); // @codeCoverageIgnore         }

        return new FeatureResponse($response);
    }

    /** * Performs a GET request. * * @return FeatureResponse * * @throws Exception * @throws RedirectException */
    public function get(string $path, ?array $params = null)
    {
Home | Imprint | This part of the site doesn't use cookies.