public function getItemListsAtDepthRange($from, $to)
{
$itemListsWithDepth = $this->getItemListsWithDepth();
$results = array();
foreach ($itemListsWithDepth as $depth => $itemLists) {
if ($depth >= $from && $depth <= $to) {
foreach ($itemLists as $itemList) {
$results[] = $itemList;
}
}
}
return new MenuHandler($results);
}