1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/tests/lib/mocks/Doctrine_DatabasePlatformMock.php
2008-09-12 08:59:44 +00:00

33 lines
630 B
PHP

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