mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
401 B
PHP
22 lines
401 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\ORM\Tests\MySQLSchemaManagerTest;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\Connect\MySQLDatabase;
|
||
|
|
||
|
class MySQLDBDummy extends MySQLDatabase implements TestOnly
|
||
|
{
|
||
|
private $dbVersion;
|
||
|
|
||
|
public function __construct($version)
|
||
|
{
|
||
|
$this->dbVersion = $version;
|
||
|
}
|
||
|
|
||
|
public function getVersion()
|
||
|
{
|
||
|
return $this->dbVersion;
|
||
|
}
|
||
|
}
|