Sulu\Bundle\CategoryBundle\Category\CategoryManager::findChildrenByParentId PHP Метод

findChildrenByParentId() публичный Метод

public findChildrenByParentId ( $parentId = null )
    public function findChildrenByParentId($parentId = null)
    {
        if ($parentId && !$this->categoryRepository->isCategoryId($parentId)) {
            throw new CategoryIdNotFoundException($parentId);
        }
        return $this->categoryRepository->findChildrenCategoriesByParentId($parentId);
    }