end() method deconstructs the
Cpanel::LiveAPI object and closes the connection to cPanel & WHM.
- Only use this method once in any script or application.
- Use this method after you have completed all of the actions that require a connection to cPanel & WHM.
- For Perl applications, this method is required .
- For PHP applications, this method is not required . We provide this method for backwards compatibility with LivePHP scripts.
// Disconnect from cPanel - only do this once. $cpanel->end();
# Disconnect from cPanel - only do this once. $cpanel->end();
This method does not accept parameters.
This method does not return a value.