1
0
mirror of synced 2025-01-18 22:41:43 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/DatabasePlatformMock.php

54 lines
1.2 KiB
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Mocks;
2009-01-04 16:15:32 +00:00
class DatabasePlatformMock extends \Doctrine\DBAL\Platforms\AbstractPlatform
{
2008-09-07 13:48:40 +00:00
private $_prefersIdentityColumns = false;
/**
* @override
*/
public function getNativeDeclaration(array $field) {}
2008-09-07 13:48:40 +00:00
/**
* @override
*/
public function getPortableDeclaration(array $field) {}
2008-09-07 13:48:40 +00:00
/**
* @override
*/
public function prefersIdentityColumns()
{
2008-09-07 13:48:40 +00:00
return $this->_prefersIdentityColumns;
}
/** @override */
public function getIntegerTypeDeclarationSql(array $field) {}
/** @override */
public function getBigIntTypeDeclarationSql(array $field) {}
/** @override */
public function getTinyIntTypeDeclarationSql(array $field) {}
/** @override */
public function getSmallIntTypeDeclarationSql(array $field) {}
/** @override */
public function getMediumIntTypeDeclarationSql(array $field) {}
/** @override */
protected function _getCommonIntegerTypeDeclarationSql(array $columnDef) {}
/** @override */
public function getVarcharDeclarationSql(array $field) {}
2008-09-07 13:48:40 +00:00
/* MOCK API */
public function setPrefersIdentityColumns($bool)
{
$this->_prefersIdentityColumns = (bool)$bool;
}
}