1
0
mirror of synced 2025-01-18 22:41:43 +03:00

moved commitordercalculator/node

This commit is contained in:
romanb 2008-09-12 10:06:42 +00:00
parent d05522258a
commit 179b0daac2
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

@ -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;
}