1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests/lib/mocks/Doctrine_DatabasePlatformMock.php
2009-01-04 16:15:32 +00:00

37 lines
710 B
PHP

<?php
#namespace Doctrine\Tests\Mocks;
#use Doctrine\DBAL\Platforms\AbstractPlatform;
class Doctrine_DatabasePlatformMock extends Doctrine_DBAL_Platforms_AbstractPlatform
{
private $_prefersIdentityColumns = false;
/**
* @override
*/
public function getNativeDeclaration(array $field) {}
/**
* @override
*/
public function getPortableDeclaration(array $field) {}
/**
* @override
*/
public function prefersIdentityColumns() {
return $this->_prefersIdentityColumns;
}
/* MOCK API */
public function setPrefersIdentityColumns($bool)
{
$this->_prefersIdentityColumns = (bool)$bool;
}
}