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

24 lines
419 B
PHP
Raw Normal View History

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