Commit 169aa634 authored by romanb's avatar romanb

moved entitypersisters

parent 70406665
......@@ -31,7 +31,7 @@
* @since 2.0
* @todo Rename to AbstractEntityPersister
*/
abstract class Doctrine_EntityPersister_Abstract
abstract class Doctrine_ORM_Persisters_AbstractEntityPersister
{
/**
* The names of all the fields that are available on entities.
......
......@@ -29,7 +29,7 @@
* @link www.phpdoctrine.org
* @since 2.0
*/
class Doctrine_EntityPersister_JoinedSubclass extends Doctrine_EntityPersister_Abstract
class Doctrine_ORM_Persisters_JoinedSubclassPersister extends Doctrine_ORM_Persisters_AbstractEntityPersister
{
/**
* Inserts an entity that is part of a Class Table Inheritance hierarchy.
......
<?php
?>
\ No newline at end of file
......@@ -29,7 +29,7 @@
* @link www.phpdoctrine.org
* @since 2.0
*/
class Doctrine_EntityPersister_Standard extends Doctrine_EntityPersister_Abstract
class Doctrine_ORM_Persisters_StandardEntityPersister extends Doctrine_ORM_Persisters_AbstractEntityPersister
{
/**
* Deletes an entity.
......
......@@ -23,7 +23,7 @@ class Orm_EntityPersisterTest extends Doctrine_OrmTestCase
$this->_classMetadataMock = new Doctrine_ClassMetadataMock("ForumUser", $this->_emMock);
$this->_classMetadataMock->setIdGenerator($this->_idGenMock);
$this->_connMock->setDatabasePlatform(new Doctrine_DatabasePlatformMock());
$this->_persister = new Doctrine_EntityPersister_Standard(
$this->_persister = new Doctrine_ORM_Persisters_StandardEntityPersister(
$this->_emMock, $this->_emMock->getClassMetadata("ForumUser"));
$this->_emMock->activate();
......
<?php
class Doctrine_EntityPersisterMock extends Doctrine_EntityPersister_Standard
class Doctrine_EntityPersisterMock extends Doctrine_ORM_Persisters_StandardEntityPersister
{
private $_inserts = array();
private $_updates = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment