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