function DatabaseHandler::__sleep

7.x DatabaseHandler.php DatabaseHandler::__sleep()
6.x DatabaseHandler.php DatabaseHandler::__sleep()

This is a PHP "magic" function. Called during a serialize command. Basically, we aren't trying to save any local variables. In fact, we will get a fatal exception if we try to serialize our PDO connection.

File

classes/DatabaseHandler.php, line 62

Class

DatabaseHandler

Code

function __sleep() {
  return array();
}