public function Connection::quote in Service Container 7.2
Same name and namespace in other branches
- 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
Namespace
Drupal\Core\DatabaseCode
public function quote($string, $parameter_type = \PDO::PARAM_STR) {
return $this->connection
->quote($string, $parameter_type);
}