doctrine/phpcr-odm — pull request #331 by dantleech (2013-09-17 10:23:08+00:00)
Title: Get node by path

This is really for unit testing convenience and enables the following

````php
$node = $qn->getNodeByPath('where.constraint.operand_dynamic[1]);
$node = $qn->getNodeByPath('order_by.ordering[2].operand_dynamic);
````

rather than

````php
$where = $qb->getChildOfType('where');
$constraint = $where->getChildOfType('constraint');
$operands = $constraint->getChildrenOfType('operand_dynamic');
// if (!isset($operands[1] ...
$operand = $operands[1];
```