1
0
mirror of synced 2025-01-31 04:21:44 +03:00

moved entitypersisters

This commit is contained in:
romanb 2008-09-12 09:44:51 +00:00
parent 70406665ad
commit 169aa63402
8 changed files with 11 additions and 5 deletions

View File

@ -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.

View File

@ -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.

View File

@ -0,0 +1,3 @@
<?php
?>

View 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.

View File

@ -0,0 +1,3 @@
<?php
?>

View File

@ -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();

View File

@ -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();