<?php
namespace DoctrineDBALDriverDrizzlePDOMySql;
use DoctrineDBALDriverPDOConnection;
use DoctrineDBALParameterType;
/**
* @deprecated
*/
class Connection extends PDOConnection
{
/**
* {@inheritdoc}
*/
public function quote($value, $type = ParameterType::STRING)
{
if ($type === ParameterType::BOOLEAN) {
return $value ? 'true' : 'false';
}
return parent::quote($value, $type);
}
}