ConnectionAdapter.php 498 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestFramework\Db;
  7. /**
  8. * Test framework custom connection adapter
  9. */
  10. class ConnectionAdapter extends \Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql
  11. {
  12. /**
  13. * Retrieve DB connection class name
  14. *
  15. * @return string
  16. */
  17. protected function getDbConnectionClassName()
  18. {
  19. return \Magento\TestFramework\Db\Adapter\Mysql::class;
  20. }
  21. }