Returns the children for a given category.
public findChildren ( integer $key, string | null $sortBy = null, string | null $sortOrder = null ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface[] | ||
$key | integer | the key of the category to search the children for |
$sortBy | string | null | column name to sort by |
$sortOrder | string | null | sort order |
return | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface[] |