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

24 lines
427 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
*/
abstract class Doctrine_Id_AbstractIdGenerator
{
2008-09-07 13:48:40 +00:00
const POST_INSERT_INDICATOR = 'POST_INSERT_INDICATOR';
protected $_em;
public function __construct(Doctrine_EntityManager $em)
{
$this->_em = $em;
}
2008-09-07 13:48:40 +00:00
abstract public function generate(Doctrine_Entity $entity);
}
?>