public function clear(bool $current = false): void
    {
        if ($current) {
            $this->curr->clear();
        }
        $this->next->clear();
    }
public function clear(bool $current = false): void
    {
        if ($current) {
            $this->curr->clear();
        }
        $this->next->clear();
    }
public function clear ( bool $ current = false ) : void { if ( $ current ) { $ this -> curr -> clear ( ) ; } $ this -> next -> clear ( ) ; }
Removes any flash values for the _next_ request, optionally also in the _current_.

@param bool $current If true, also clears flash values from the _current_ request.
Removes any flash values for the _next_ request optionally also in the _current_ .