silverstripe-framework/tests/php/ORM/MySQLPDOConnectorTest/PDOConnector.php

16 lines
337 B
PHP
Raw Normal View History

<?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;
}
}