Connection::serialize

public Connection::serialize()

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 179

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Core\Database\Driver\mysql

Code

1
2
3
4
5
6
7
8
9
public function serialize() {
  // Cleanup the connection, much like __destruct() does it as well.
  if ($this->needsCleanup) {
    $this->nextIdDelete();
  }
  $this->needsCleanup = FALSE;
 
  return parent::serialize();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.