# Decorate a public function from SwagImportExport\\DbAdapters\\Articles\\PropertyWriter

**URL:** <https://forum.shopware.com/t/decorate-a-public-function-from-swagimportexport-dbadapters-articles-propertywriter/43660>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [13. Februar 2017 um 13:20 UTC](https://forum.shopware.com/t/decorate-a-public-function-from-swagimportexport-dbadapters-articles-propertywriter/43660 "2017-02-13T13:20:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrankStappers](https://avatars.discourse-cdn.com/v4/letter/f/e19adc/32.png) [@FrankStappers](https://forum.shopware.com/u/FrankStappers)\
**Post date:** [13. Februar 2017 um 13:20 UTC](https://forum.shopware.com/t/decorate-a-public-function-from-swagimportexport-dbadapters-articles-propertywriter/43660/1 "2017-02-13T13:20:01Z")

</div>

Decorate a public function from SwagImportExport\DbAdapters\Articles\PropertyWriter&nbsp;

Hi,

I have installed the&nbsp;“Shopware Import/Export v2.0.2” module and would like to alter the behaviour of SwagImportExport\DbAdapters\Articles\PropertyWriter::writeUpdateCreatePropertyGroupsFilterAndValues(…) &nbsp;by using a custom plugin as described via&nbsp;[Extend an existing plugin via another plugin](https://developers.shopware.com/developers-guide/plugin-extension-by-plugin/).

To decorate a plugin’s functionality the development documentation suggests to use a service configuration layer. The&nbsp;SwagImportExport uses the ‘Bootstrap.php’ file to install the plugin, hence no ‘services.xml’ file is available. The documentation on how to decorate these functions keeps me puzzled: Do I need to extend the generated Proxy class ShopwareComponentsSwagImportExportDbAdaptersArticlesDbAdapterProxy from the cache folder and ‘hook’ &nbsp;into the proxy? Should I use subscribers/events to decorate functionality? Are there other ways for decorating the functionality?

What would be best way to proceed? Any help would be appreciated.

Kind regards,

Frank Stappers
