Implemented first test for tree-source service

This commit is contained in:
Kevin Frantz
2018-11-18 10:50:18 +01:00
parent 56c0196326
commit b6cecd0010
2 changed files with 36 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ final class TreeSourceService extends AbstractSourceService implements TreeSourc
$this->source = $source;
$this->branches = new ArrayCollection();
$this->leaves = new ArrayCollection();
$this->basicSort();
}
private function sortMember(SourceInterface $member): bool