public function destroy($reason)
    {
        $this->id = null;
        $this->lifetime = 0;
        $this->lastActivityTimestamp = 0;
        $this->maximumAge = -1;
    }
public function destroy($reason)
    {
        $this->id = null;
        $this->lifetime = 0;
        $this->lastActivityTimestamp = 0;
        $this->maximumAge = -1;
    }
public function destroy ( $ reason ) { $ this -> id = null ; $ this -> lifetime = 0 ; $ this -> lastActivityTimestamp = 0 ; $ this -> maximumAge = - 1 ; }
Explicitly destroys all session data.

@param string $reason The reason why the session has been destroyed

@return void
Explicitly destroys all session data .