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

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