public Query::__wakeup()
Implements the magic __wakeup function to reconnect to the database.
File
- core/lib/Drupal/Core/Database/Query/Query.php, line 91
Class
- Query
- Base class for query builders.
Namespace
Drupal\Core\Database\Query
Code
1 2 3 | public function __wakeup() { $this ->connection = Database::getConnection( $this ->connectionTarget, $this ->connectionKey); } |
Please login to continue.