API Reference Guide > PHP XMLSERVICE Toolkit > Toolkit Service Class > Define Program Parameters > The Disconnect Method

The Disconnect Method

The Disconnect method stops a stateful XMLSERVICE connection, ending the toolkit job. Don't do this unless you really want the job to end. It's usually better to use the idleTimeout option so that the jobs only end after a timeout.

$ToolkitServiceObj->disconnect()

 

Read Also

  PHP XMLSERVICE Toolkit    
  Toolkit Service Class    
  Define Program Parameters