1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/IdentityIdGeneratorMock.php
2012-12-14 18:55:28 +00:00

17 lines
292 B
PHP

<?php
namespace Doctrine\Tests\Mocks;
/**
* Mock class for IdentityGenerator.
*/
class IdentityIdGeneratorMock extends \Doctrine\ORM\Id\IdentityGenerator
{
private $_mockPostInsertId;
public function setMockPostInsertId($id)
{
$this->_mockPostInsertId = $id;
}
}