moved commitordercalculator/node
This commit is contained in:
parent
d05522258a
commit
179b0daac2
@ -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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user