/** * Fetch the filled tree * * @param CategoryInterface $parent * @param Collection $categories * * @return CategoryInterface[] */ protected function getFilledTree(CategoryInterface $parent, Collection $categories) { return $this->categoryManager->getFilledTree($parent, $categories); }