2008-08-31 22:27:16 +04:00
|
|
|
<?php
|
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
namespace Doctrine\ORM\Id;
|
|
|
|
|
2009-03-30 23:43:05 +04:00
|
|
|
use Doctrine\ORM\EntityManager;
|
|
|
|
|
2008-09-07 17:48:40 +04:00
|
|
|
/**
|
|
|
|
* Id generator that uses a single-row database table and a hi/lo algorithm.
|
|
|
|
*
|
|
|
|
* @since 2.0
|
2009-05-24 14:38:37 +04:00
|
|
|
* @todo Implementation
|
2008-09-07 17:48:40 +04:00
|
|
|
*/
|
2009-01-22 22:38:10 +03:00
|
|
|
class TableGenerator extends AbstractIdGenerator
|
2008-09-07 17:48:40 +04:00
|
|
|
{
|
2009-03-30 23:43:05 +04:00
|
|
|
public function generate(EntityManager $em, $entity)
|
2008-09-07 17:48:40 +04:00
|
|
|
{
|
2009-08-27 02:03:39 +04:00
|
|
|
throw \Doctrine\Common\DoctrineException::notImplemented(__CLASS__ . '::' . __FUNCTION__);
|
2008-09-07 17:48:40 +04:00
|
|
|
}
|
2009-02-20 08:46:20 +03:00
|
|
|
}
|