sendCookies example

public function send()
    {
        // If we're enforcing a Content Security Policy,         // we need to give it a chance to build out it's headers.         if ($this->CSP->enabled()) {
            $this->CSP->finalize($this);
        } else {
            $this->body = str_replace(['{csp-style-nonce}', '{csp-script-nonce}'], '', $this->body ?? '');
        }

        $this->sendHeaders();
        $this->sendCookies();
        $this->sendBody();

        return $this;
    }

    /** * Sends the headers of this HTTP response to the browser. * * @return $this */
    public function sendHeaders()
    {
Home | Imprint | This part of the site doesn't use cookies.