code: public function destroy()
      {
          if($this->id == null) {
              throw new InternalException('Session not loaded');
          }
  
          if(!$this->cli) {
              session_destroy();
          }
  
          $this->id = null;
      }
docs: Destroy session
  @codeCoverageIgnore