src/Http/Cookie/Cookies.php
public function clearSessionCookies()
    {
        $this->_data = array_filter(
            $this->_data,
            function ($cookie) {
                return !$cookie->discard() && $cookie->expires();
            }
        );
        return $this;
    }
public function clearSessionCookies()
    {
        $this->_data = array_filter(
            $this->_data,
            function ($cookie) {
                return !$cookie->discard() && $cookie->expires();
            }
        );
        return $this;
    }
public function clearSessionCookies ( ) { $ this -> _data = array_filter ( $ this -> _data , function ( $ cookie ) { return ! $ cookie -> discard ( ) && $ cookie -> expires ( ) ; } ) ; return $ this ; }
Clear session based cookies.

@return self
Clear session based cookies .