1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/DBAL/Mocks/MockPlatform.php

29 lines
689 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\DBAL\Mocks;
use Doctrine\DBAL\Platforms;
class MockPlatform extends \Doctrine\DBAL\Platforms\AbstractPlatform
{
public function getIntegerTypeDeclarationSql(array $columnDef) {}
public function getBigIntTypeDeclarationSql(array $columnDef) {}
public function getSmallIntTypeDeclarationSql(array $columnDef) {}
public function _getCommonIntegerTypeDeclarationSql(array $columnDef) {}
public function getVarcharTypeDeclarationSql(array $field)
{
return "DUMMYVARCHAR()";
}
public function getVarcharDefaultLength()
{
return 255;
}
public function getName()
{
return 'mock';
}
}