| 1 | <?php |
||
| 20 | class Adapter |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var DbAdapterInterface |
||
| 24 | */ |
||
| 25 | protected $adapter; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param DbAdapterInterface $adapter |
||
| 29 | */ |
||
| 30 | public function __construct(DbAdapterInterface $adapter) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return \Zend\Db\Adapter\Platform\PlatformInterface |
||
| 37 | */ |
||
| 38 | public function getPlatform() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Returns database name |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getSchema() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $sql |
||
| 55 | * @return \Zend\Db\ResultSet\ResultSet |
||
| 56 | * @throws Exception\SqlQueryException |
||
| 57 | */ |
||
| 58 | public function executeQuery($sql) |
||
| 68 | } |
||
| 69 |