public function Connection::serialize in Drupal 8
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php, line 516
Class
- Connection
- MySQL implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\Core\Database\Driver\mysqlCode
public function serialize() {
// Cleanup the connection, much like __destruct() does it as well.
if ($this->needsCleanup) {
$this
->nextIdDelete();
}
$this->needsCleanup = FALSE;
return parent::serialize();
}