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
179b0daa
Commit
179b0daa
authored
Sep 12, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved commitordercalculator/node
parent
d0552225
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
UnitOfWork.php
lib/Doctrine/Connection/UnitOfWork.php
+1
-1
CommitOrderCalculator.php
lib/Doctrine/ORM/Internal/CommitOrderCalculator.php
+2
-2
CommitOrderNode.php
lib/Doctrine/ORM/Internal/CommitOrderNode.php
+3
-3
No files found.
lib/Doctrine/Connection/UnitOfWork.php
View file @
179b0daa
...
...
@@ -124,7 +124,7 @@ class Doctrine_Connection_UnitOfWork
{
$this
->
_em
=
$em
;
//TODO: any benefit with lazy init?
$this
->
_commitOrderCalculator
=
new
Doctrine_Internal_CommitOrderCalculator
();
$this
->
_commitOrderCalculator
=
new
Doctrine_
ORM_
Internal_CommitOrderCalculator
();
}
/**
...
...
lib/Doctrine/Internal/CommitOrderCalculator.php
→
lib/Doctrine/
ORM/
Internal/CommitOrderCalculator.php
View file @
179b0daa
...
...
@@ -29,7 +29,7 @@
* @todo Rename to: CommitOrderCalculator
* @author Roman Borschel <roman@code-factory.org>
*/
class
Doctrine_Internal_CommitOrderCalculator
class
Doctrine_
ORM_
Internal_CommitOrderCalculator
{
private
$_currentTime
;
...
...
@@ -95,7 +95,7 @@ class Doctrine_Internal_CommitOrderCalculator
public
function
addNodeWithItem
(
$key
,
$item
)
{
$this
->
_nodes
[
$key
]
=
new
Doctrine_Internal_CommitOrderNode
(
$item
,
$this
);
$this
->
_nodes
[
$key
]
=
new
Doctrine_
ORM_
Internal_CommitOrderNode
(
$item
,
$this
);
}
public
function
getNodeForKey
(
$key
)
...
...
lib/Doctrine/Internal/CommitOrderNode.php
→
lib/Doctrine/
ORM/
Internal/CommitOrderNode.php
View file @
179b0daa
...
...
@@ -28,7 +28,7 @@
* @since 2.0
* @author Roman Borschel <roman@code-factory.org>
*/
class
Doctrine_Internal_CommitOrderNode
class
Doctrine_
ORM_
Internal_CommitOrderNode
{
const
NOT_VISITED
=
1
;
const
IN_PROGRESS
=
2
;
...
...
@@ -47,7 +47,7 @@ class Doctrine_Internal_CommitOrderNode
private
$_relationEdges
=
array
();
public
function
__construct
(
$wrappedObj
,
Doctrine_Internal_CommitOrderCalculator
$calc
)
public
function
__construct
(
$wrappedObj
,
Doctrine_
ORM_
Internal_CommitOrderCalculator
$calc
)
{
$this
->
_wrappedObj
=
$wrappedObj
;
$this
->
_calculator
=
$calc
;
...
...
@@ -144,7 +144,7 @@ class Doctrine_Internal_CommitOrderNode
*
* @param Doctrine_Internal_CommitOrderNode $node
*/
public
function
before
(
Doctrine_Internal_CommitOrderNode
$node
)
public
function
before
(
Doctrine_
ORM_
Internal_CommitOrderNode
$node
)
{
$this
->
_relatedNodes
[]
=
$node
;
}
...
...
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