| 1 | <?php |
||
| 9 | class MysqliAdapter implements AdapterInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | use Mysql\MysqlCommonTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * |
||
| 16 | * @var \mysqli |
||
| 17 | */ |
||
| 18 | protected $connection; |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor |
||
| 23 | * |
||
| 24 | * @param mysqli $connection |
||
| 25 | */ |
||
| 26 | 5 | public function __construct(mysqli $connection) |
|
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 1 | public function quoteValue($value) |
|
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 3 | public function query($query) |
|
| 68 | |||
| 69 | /** |
||
| 70 | * {@inheritdoc} |
||
| 71 | */ |
||
| 72 | 2 | public function execute($query) |
|
| 76 | } |
||
| 77 |