protected function processBreadcrumbEntries(MenuEntry $entry)
    {
        $entries = array(
            $entry
        );
        
        if ($entry->hasParent()) {
            $parentEntries = $this->processBreadcrumbEntries($entry->getParent());
        
            foreach ($parentEntries as $parentEntry) {
                $entries[] = $parentEntry;
            }
        }
        
        return $entries;
    }