1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/lib/mocks/Doctrine_DatabasePlatformMock.php

33 lines
630 B
PHP
Raw Normal View History

<?php
2008-09-12 12:59:44 +04:00
class Doctrine_DatabasePlatformMock extends Doctrine_DBAL_Platforms_AbstractPlatform
{
2008-09-07 17:48:40 +04:00
private $_prefersIdentityColumns = false;
/**
* @override
*/
public function getNativeDeclaration(array $field) {}
2008-09-07 17:48:40 +04:00
/**
* @override
*/
public function getPortableDeclaration(array $field) {}
2008-09-07 17:48:40 +04:00
/**
* @override
*/
public function prefersIdentityColumns() {
return $this->_prefersIdentityColumns;
}
/* MOCK API */
public function setPrefersIdentityColumns($bool)
{
$this->_prefersIdentityColumns = (bool)$bool;
}
}
?>