# class sAdmin

**URL:** <https://forum.shopware.com/t/class-sadmin/29527>\
**Category:** Programmierung\
**Created:** [11. August 2015 um 14:10 UTC](https://forum.shopware.com/t/class-sadmin/29527 "2015-08-11T14:10:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyborgii](https://avatars.discourse-cdn.com/v4/letter/c/7ba0ec/32.png) [@cyborgii](https://forum.shopware.com/u/cyborgii)\
**Post date:** [11. August 2015 um 14:10 UTC](https://forum.shopware.com/t/class-sadmin/29527/1 "2015-08-11T14:10:36Z")

</div>

Hi, Kann mir bitte jemand einen Tipp geben was die Alternative zu Hooks in die sAdmin sind. Immerhin steht am Kopf der Klasse: ` use Shopware\Bundle\StoreFrontBundle; use Shopware\Components\Validator\EmailValidatorInterface; /\*\* \* Deprecated Shopware Class that handles several \* functions around customer / order related things \*/ class sAdmin ` Danke, Gregor

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [11. August 2015 um 14:29 UTC](https://forum.shopware.com/t/class-sadmin/29527/2 "2015-08-11T14:29:46Z")

</div>

Wenn die Klasse keine events bereit stellt, dann hast du keine Alternativen. Ansonsten kannst du in Einzelfällen die services innerhalb einer Methode überschreiben / erweitern - siehe [https://developers.shopware.com/develop … xtensions/](https://developers.shopware.com/developers-guide/shopware-5-core-service-extensions/) Der Hinweis sagt nur aus, dass die Klasse in zukünftigen Shopware Versionen ersetzt / ausgetauscht wird. Viele Grüße
