Commit 179b0daa authored by romanb's avatar romanb

moved commitordercalculator/node

parent d0552225
......@@ -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();
}
/**
......
......@@ -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)
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment