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.')); }