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

16 lines
337 B
PHP

<?php
namespace SilverStripe\ORM\Tests\MySQLPDOConnectorTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\Connect\PDOConnector as OriginalPDOConnector;
use PDO;
class PDOConnector extends OriginalPDOConnector implements TestOnly
{
public function getPDOConnection(): PDO
{
return $this->pdoConnection;
}
}