You are here

public function Connection::quote in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::quote()

File

lib/Drupal/Core/Database/Connection.php, line 207
Contains \Drupal\Core\Database\Connection.

Class

Connection

Namespace

Drupal\Core\Database

Code

public function quote($string, $parameter_type = \PDO::PARAM_STR) {
  return $this->connection
    ->quote($string, $parameter_type);
}