You are here

public function SqlBase::__sleep in Drupal 9

Same name and namespace in other branches
  1. 10 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__sleep()

Overrides DependencySerializationTrait::__sleep

File

core/modules/migrate/src/Plugin/migrate/source/SqlBase.php, line 467

Class

SqlBase
Sources whose data may be fetched via a database connection.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function __sleep() {
  return array_diff(parent::__sleep(), [
    'database',
  ]);
}