24 lines
427 B
PHP
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);
|
|
}
|
|
|
|
?>
|