1
0
mirror of synced 2025-01-06 09:07:09 +03:00
doctrine2/lib/Doctrine/ORM/Id/AbstractIdGenerator.php
2008-09-12 13:16:05 +00:00

24 lines
439 B
PHP

<?php
#namespace Doctrine::ORM::Id;
/**
* Enter description here...
*
* @todo Rename to AbstractIdGenerator
*/
abstract class Doctrine_ORM_Id_AbstractIdGenerator
{
const POST_INSERT_INDICATOR = 'POST_INSERT_INDICATOR';
protected $_em;
public function __construct(Doctrine_ORM_EntityManager $em)
{
$this->_em = $em;
}
abstract public function generate(Doctrine_ORM_Entity $entity);
}
?>