mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
16 lines
349 B
PHP
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;
|
||
|
}
|
||
|
}
|