src/Session.php
public function close()
    {
        if ($this->opened) {
            if ($this->shouldRegenerateId()) {
                $this->regenerateId();
            }

            $this->updateLastTrace();
            $this->save();

            $this->values = array();
            $this->opened = false;
        }
    }
public function close()
    {
        if ($this->opened) {
            if ($this->shouldRegenerateId()) {
                $this->regenerateId();
            }

            $this->updateLastTrace();
            $this->save();

            $this->values = array();
            $this->opened = false;
        }
    }
public function close ( ) { if ( $ this -> opened ) { if ( $ this -> shouldRegenerateId ( ) ) { $ this -> regenerateId ( ) ; } $ this -> updateLastTrace ( ) ; $ this -> save ( ) ; $ this -> values = array ( ) ; $ this -> opened = false ; } }
Close the session.
Close the session .