public function DatabaseConnection::__call in Drupal 7
Proxy possible direct calls to the \PDO methods.
Since PHP8.0 the signature of the the \PDO::query() method has changed, and this class can't extending \PDO any more.
However, for the BC, proxy any calls to the \PDO methods to the actual PDO connection object.
File
- includes/
database/ database.inc, line 352 - Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Code
public function __call($name, $arguments) {
return call_user_func_array(array(
$this->connection,
$name,
), $arguments);
}