moved entitypersisters
This commit is contained in:
parent
70406665ad
commit
169aa63402
@ -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.
|
3
lib/Doctrine/ORM/Persisters/SingleTablePersister.php
Normal file
3
lib/Doctrine/ORM/Persisters/SingleTablePersister.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
?>
|
@ -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.
|
3
lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php
Normal file
3
lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
?>
|
@ -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();
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class Doctrine_EntityPersisterMock extends Doctrine_EntityPersister_Standard
|
||||
class Doctrine_EntityPersisterMock extends Doctrine_ORM_Persisters_StandardEntityPersister
|
||||
{
|
||||
private $_inserts = array();
|
||||
private $_updates = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user