# createDefaultContext() method marked as  internal

**URL:** https://forum.shopware.com/t/createdefaultcontext-method-marked-as-internal/63509
**Category:** Programming (EN)
**Created:** [12. Dezember 2019 um 13:34 UTC](https://forum.shopware.com/t/createdefaultcontext-method-marked-as-internal/63509 "2019-12-12T13:34:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ivanb](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@ivanb](https://forum.shopware.com/u/ivanb)
#### Post date: [12. Dezember 2019 um 13:34 UTC](https://forum.shopware.com/t/createdefaultcontext-method-marked-as-internal/63509/1 "2019-12-12T13:34:42Z")

</div>

Hello

On Shopware 6.10-RC2 version,&nbsp;method Context::createDefaultContext() has been marked as internal. Will our plugin pass validation if we use this method in code?

And If it is forbidden, is it possible to get context inside the service class (not from the controller)?
