1
0
mirror of synced 2025-01-21 07:41:41 +03:00
doctrine2/lib/Doctrine/ORM/Id/AbstractIdGenerator.php

24 lines
439 B
PHP
Raw Normal View History

<?php
2008-09-07 13:48:40 +00:00
#namespace Doctrine::ORM::Id;
/**
* Enter description here...
*
* @todo Rename to AbstractIdGenerator
*/
2008-09-12 10:02:06 +00:00
abstract class Doctrine_ORM_Id_AbstractIdGenerator
{
2008-09-07 13:48:40 +00:00
const POST_INSERT_INDICATOR = 'POST_INSERT_INDICATOR';
protected $_em;
public function __construct(Doctrine_ORM_EntityManager $em)
{
$this->_em = $em;
}
2008-09-12 10:40:23 +00:00
abstract public function generate(Doctrine_ORM_Entity $entity);
}
?>