Jarves\Storage\AbstractStorage::getBranch PHP Method

getBranch() public method

Result should be: array( array(, '_children' => array(), '_childrenCount' => ), array(, '_children' => array(), '_childrenCount' => ), ... )
public getBranch ( array $pk = null, Condition $condition = null, integer $depth = 1, mixed $scope = null, array $options = null ) : array
$pk array
$condition Jarves\Configuration\Condition
$depth integer Started with one. One means, only the first level, no children at all.
$scope mixed
$options array
return array
    public function getBranch($pk = null, Condition $condition = null, $depth = 1, $scope = null, $options = null)
    {
        if (!$this->getDefinition()->isNested()) {
            throw new \Exception(sprintf('Object %s it not a nested set.', $this->objectKey));
        }
        throw new \Exception(sprintf('getBranch is not implemented.'));
    }