2009-01-03 22:50:13 +03:00
|
|
|
<?php
|
2009-01-04 19:15:32 +03:00
|
|
|
|
|
|
|
#namespace Doctrine\Tests\Mocks;
|
2009-01-03 22:50:13 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Description of Doctrine_IdentityIdGeneratorMock
|
|
|
|
*
|
|
|
|
* @author robo
|
|
|
|
*/
|
|
|
|
class Doctrine_IdentityIdGeneratorMock extends Doctrine_ORM_Id_IdentityGenerator
|
|
|
|
{
|
|
|
|
private $_mockPostInsertId;
|
|
|
|
|
|
|
|
public function setMockPostInsertId($id) {
|
|
|
|
$this->_mockPostInsertId = $id;
|
|
|
|
}
|
|
|
|
}
|
2009-01-04 19:15:32 +03:00
|
|
|
|