silverstripe-framework/tests/php/ORM/MySQLiConnectorTest/MySQLiConnector.php
2020-08-30 13:21:38 +12:00

16 lines
349 B
PHP

<?php
namespace SilverStripe\ORM\Tests\MySQLiConnectorTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\Connect\MySQLiConnector as OriginalMySQLiConnector;
use mysqli;
class MySQLiConnector extends OriginalMySQLiConnector implements TestOnly
{
public function getMysqliConnection(): mysqli
{
return $this->dbConn;
}
}