1<?php
2
3namespace Doctrine\DBAL\Driver\DrizzlePDOMySql;
4
5use Doctrine\DBAL\Driver\PDOConnection;
6use Doctrine\DBAL\ParameterType;
7
8/**
9 * @deprecated
10 */
11class Connection extends PDOConnection
12{
13    /**
14     * {@inheritdoc}
15     */
16    public function quote($value, $type = ParameterType::STRING)
17    {
18        if ($type === ParameterType::BOOLEAN) {
19            return $value ? 'true' : 'false';
20        }
21
22        return parent::quote($value, $type);
23    }
24}
25