# Cockpit - the next iteration 🥁

**URL:** <https://discourse.getcockpit.com/t/cockpit-the-next-iteration/2395>\
**Category:** Releases\
**Created:** [July 2, 2022, 1:01am UTC](https://discourse.getcockpit.com/t/cockpit-the-next-iteration/2395 "2022-07-02T01:01:43Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![tokant](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@tokant](https://discourse.getcockpit.com/u/tokant)\
**Post date:** [August 29, 2022, 1:03pm UTC](https://discourse.getcockpit.com/t/cockpit-the-next-iteration/2395/42 "2022-08-29T13:03:12Z")

</div>

And how would you call a singleton in the new version?

I have tried:

- $primary\_menu = Cockpit::instance()-\>module(‘Frontpage’)-\>find(‘primary\_menu’);
- $frontpage = Cockpit::instance()-\>module(‘Frontpage’);

---

_[View the full topic](https://discourse.getcockpit.com/t/cockpit-the-next-iteration/2395)._
