# Alle Service-IDs auflisten?

**URL:** https://forum.shopware.com/t/alle-service-ids-auflisten/59400
**Category:** Programmierung
**Created:** [6. Mai 2019 um 14:51 UTC](https://forum.shopware.com/t/alle-service-ids-auflisten/59400 "2019-05-06T14:51:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![paddelboot](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@paddelboot](https://forum.shopware.com/u/paddelboot)
#### Post date: [6. Mai 2019 um 14:51 UTC](https://forum.shopware.com/t/alle-service-ids-auflisten/59400/1 "2019-05-06T14:51:53Z")

</div>

Hallo,

Gibt es eine Möglichkeit, alle im Service-Container registrierten Service-IDs aufzulisten, analog zur Symfony-Anleitung: [How to Debug the Service Container & List Services (Symfony Docs)](https://symfony.com/doc/current/service_container/debug.html)

Das erzeugt im Terminal lediglich die Ausgabe **There are no commands defined in the “debug” namespace.**

Ich suche zB. den ModelManager, um ihn an mein Repository zu übergeben, wo ich ein Model persistieren will. Danke schonmal.

Paddelboot

&nbsp;

---

<div class="post-metadata">

### Author: ![ahmadsaad](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@ahmadsaad](https://forum.shopware.com/u/ahmadsaad)
#### Post date: [6. Mai 2019 um 19:44 UTC](https://forum.shopware.com/t/alle-service-ids-auflisten/59400/2 "2019-05-06T19:44:59Z")

</div>

Hallo @paddelboot‍,

du kannst diese Funktion benutzen:

```
Shopware()->Container()->getServiceIds()

```

VG,

Tel.: +49 755&nbsp;- 183 990 00 | Email: [info@enbit.de](mailto:info@enbit.de) | Web:&nbsp;[http://enbit.de/](http://enbit.de/)

---

<div class="post-metadata">

### Author: ![paddelboot](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@paddelboot](https://forum.shopware.com/u/paddelboot)
#### Post date: [7. Mai 2019 um 10:57 UTC](https://forum.shopware.com/t/alle-service-ids-auflisten/59400/3 "2019-05-07T10:57:57Z")

</div>

Danke! Übers Terminal geht das also nicht? Wäre etwas praktischer. Auch die _–show-arguments_ - Option wäre echt gut ([How to Debug the Service Container & List Services (Symfony Docs)](https://symfony.com/doc/current/service_container/debug.html#detailed-info-about-a-single-service)).
