Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
169aa634
Commit
169aa634
authored
Sep 12, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved entitypersisters
parent
70406665
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
5 deletions
+11
-5
AbstractEntityPersister.php
lib/Doctrine/ORM/Persisters/AbstractEntityPersister.php
+1
-1
Exception.php
lib/Doctrine/ORM/Persisters/Exception.php
+0
-0
JoinedSubclassPersister.php
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php
+1
-1
SingleTablePersister.php
lib/Doctrine/ORM/Persisters/SingleTablePersister.php
+3
-0
StandardEntityPersister.php
lib/Doctrine/ORM/Persisters/StandardEntityPersister.php
+1
-1
UnionSubclassPersister.php
lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php
+3
-0
EntityPersisterTest.php
tests/Orm/EntityPersisterTest.php
+1
-1
Doctrine_EntityPersisterMock.php
tests/lib/mocks/Doctrine_EntityPersisterMock.php
+1
-1
No files found.
lib/Doctrine/
EntityPersister/Abstract
.php
→
lib/Doctrine/
ORM/Persisters/AbstractEntityPersister
.php
View file @
169aa634
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
* @since 2.0
* @since 2.0
* @todo Rename to AbstractEntityPersister
* @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.
* The names of all the fields that are available on entities.
...
...
lib/Doctrine/
EntityPersister
/Exception.php
→
lib/Doctrine/
ORM/Persisters
/Exception.php
View file @
169aa634
File moved
lib/Doctrine/
EntityPersister/JoinedSubclass
.php
→
lib/Doctrine/
ORM/Persisters/JoinedSubclassPersister
.php
View file @
169aa634
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* @link www.phpdoctrine.org
* @link www.phpdoctrine.org
* @since 2.0
* @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.
* Inserts an entity that is part of a Class Table Inheritance hierarchy.
...
...
lib/Doctrine/ORM/Persisters/SingleTablePersister.php
0 → 100644
View file @
169aa634
<?php
?>
\ No newline at end of file
lib/Doctrine/
EntityPersister/Standard
.php
→
lib/Doctrine/
ORM/Persisters/StandardEntityPersister
.php
View file @
169aa634
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* @link www.phpdoctrine.org
* @link www.phpdoctrine.org
* @since 2.0
* @since 2.0
*/
*/
class
Doctrine_
EntityPersister_Standard
extends
Doctrine_EntityPersister_Abstract
class
Doctrine_
ORM_Persisters_StandardEntityPersister
extends
Doctrine_ORM_Persisters_AbstractEntityPersister
{
{
/**
/**
* Deletes an entity.
* Deletes an entity.
...
...
lib/Doctrine/ORM/Persisters/UnionSubclassPersister.php
0 → 100644
View file @
169aa634
<?php
?>
\ No newline at end of file
tests/Orm/EntityPersisterTest.php
View file @
169aa634
...
@@ -23,7 +23,7 @@ class Orm_EntityPersisterTest extends Doctrine_OrmTestCase
...
@@ -23,7 +23,7 @@ class Orm_EntityPersisterTest extends Doctrine_OrmTestCase
$this
->
_classMetadataMock
=
new
Doctrine_ClassMetadataMock
(
"ForumUser"
,
$this
->
_emMock
);
$this
->
_classMetadataMock
=
new
Doctrine_ClassMetadataMock
(
"ForumUser"
,
$this
->
_emMock
);
$this
->
_classMetadataMock
->
setIdGenerator
(
$this
->
_idGenMock
);
$this
->
_classMetadataMock
->
setIdGenerator
(
$this
->
_idGenMock
);
$this
->
_connMock
->
setDatabasePlatform
(
new
Doctrine_DatabasePlatformMock
());
$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
,
$this
->
_emMock
->
getClassMetadata
(
"ForumUser"
));
$this
->
_emMock
->
activate
();
$this
->
_emMock
->
activate
();
...
...
tests/lib/mocks/Doctrine_EntityPersisterMock.php
View file @
169aa634
<?php
<?php
class
Doctrine_EntityPersisterMock
extends
Doctrine_
EntityPersister_Standard
class
Doctrine_EntityPersisterMock
extends
Doctrine_
ORM_Persisters_StandardEntityPersister
{
{
private
$_inserts
=
array
();
private
$_inserts
=
array
();
private
$_updates
=
array
();
private
$_updates
=
array
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment