1 | <?php |
||
10 | class Dbal2Adapter implements AdapterInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * |
||
15 | * @var \Doctrine\DBAL\Connection |
||
16 | */ |
||
17 | protected $dbal; |
||
18 | |||
19 | |||
20 | /** |
||
21 | * |
||
22 | * @var Dbal2Connection |
||
23 | */ |
||
24 | protected $connection; |
||
25 | |||
26 | /** |
||
27 | * Constructor |
||
28 | * |
||
29 | * @param \Doctrine\DBAL\Connection $dbal |
||
30 | */ |
||
31 | public function __construct(\Doctrine\DBAL\Connection $dbal) |
||
36 | |||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function quoteValue($value) |
||
45 | |||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function query($query) |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | * @return Dbal2Connection |
||
82 | */ |
||
83 | public function getConnection() |
||
87 | } |
||
88 |