function Query::__unserialize
Prevents unserialization of query objects.
Throws
\LogicException
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ Query.php, line 96
Class
- Query
- Base class for query builders.
Namespace
Drupal\Core\Database\QueryCode
public function __unserialize(array $data) : void {
throw new \LogicException('Database query objects cannot be unserialized.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.