| 1 | <?php | ||
| 9 | class PdoMysqlConnection extends AbstractMysqlConnection implements ConnectionInterface | ||
| 10 | { | ||
| 11 | |||
| 12 | /** | ||
| 13 | * | ||
| 14 | * @var PdoMysqlAdapter | ||
| 15 | */ | ||
| 16 | protected $adapter; | ||
| 17 | |||
| 18 | |||
| 19 | /** | ||
| 20 | * | ||
| 21 | * @var PDO | ||
| 22 | */ | ||
| 23 | protected $resource; | ||
| 24 | |||
| 25 | /** | ||
| 26 | * | ||
| 27 | * @param PdoMysqlAdapter $adapter | ||
| 28 | * @param PDO $resource | ||
| 29 | */ | ||
| 30 | 8 | public function __construct(PdoMysqlAdapter $adapter, PDO $resource) | |
| 35 | |||
| 36 | |||
| 37 | /** | ||
| 38 |      * {@inheritdoc} | ||
| 39 | * @return PDO | ||
| 40 | */ | ||
| 41 | 1 | public function getResource() | |
| 45 | |||
| 46 | /** | ||
| 47 |      * {@inheritdoc} | ||
| 48 | */ | ||
| 49 | 1 | public function getHost() | |
| 54 | } | ||
| 55 |