clearRawBody example

/** * Clear the global state */
    public function clearAll()
    {
        $this->clearCookies();
        $this->clearHeaders();
        $this->clearParams();
        $this->clearPost();
        $this->clearQuery();
        $this->clearRawBody();
    }

    /** * Clear GET values * * @return Enlight_Controller_Request_RequestTestCase */
    public function clearQuery()
    {
        $_GET = [];
        $this->query->replace([]);

        
Home | Imprint | This part of the site doesn't use cookies.