1
0
mirror of synced 2025-01-18 14:31:40 +03:00
doctrine2/lib/Doctrine/ORM/Id/AbstractIdGenerator.php
2008-12-18 14:08:11 +00:00

24 lines
419 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($entity);
}
?>