1 | <?php |
||
6 | final class PDODbAdapter implements DatabaseAdapterInterface |
||
7 | { |
||
8 | /** @var \PDO */ |
||
9 | private $pdo; |
||
10 | |||
11 | public function __construct(\PDO $pdo) |
||
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function executeCommand(string $command, array $parameters = array()) |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function executeQuery(string $query, array $parameters = array()) : array |
||
34 | |||
35 | private function executeParameterisedQuery($query, array $parameters) : \PDOStatement |
||
47 | } |