1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/lib/Doctrine/Id/AbstractIdGenerator.php
2008-09-07 13:48:40 +00:00

24 lines
427 B
PHP

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