Access to route() in AppPanelProvider::panel()

Do we have access to routes in the panel() method before we do a call to $panel?
Solution
Here is with closure. It works fine.
MenuItem::make()
    ->url(function() {
        return Account::getUrl();
    })
Was this page helpful?