| 1 | <?php |
||
| 6 | final class QueryAdapter |
||
| 7 | {
|
||
| 8 | /** |
||
| 9 | * @var DatabaseAdapterInterface |
||
| 10 | */ |
||
| 11 | private $dbAdapter; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var EntityMapperInterface |
||
| 15 | */ |
||
| 16 | private $entityMapper; |
||
| 17 | |||
| 18 | public function __construct(DatabaseAdapterInterface $dbAdapter, EntityMapperInterface $entityMapper) |
||
| 23 | |||
| 24 | public function executeCommand($command, array $parameters = array()) |
||
| 28 | |||
| 29 | public function executeQuery(string $query, EntityDefinition $entityDefinition, array $parameters = array()) |
||
| 39 | } |