Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 574 Bytes

provider.md

File metadata and controls

17 lines (13 loc) · 574 Bytes

Export Providers

Currently, these Export Provider Types are supported:

  • CSV
  • JSON
  • XML

To create a custom provider, you need to implement Wvision\Bundle\DataDefinitionsBundle\Provider\ExportProviderInterface namespace and add a new service:

acme_bundle.data_definitions.provider.my_provider:
    class: AcmeBundle\DataDefinitions\MyProvider
    tags:
      - { name: data_definitions.export_provider, type: my_provider, form-type: AcmeBundle\Form\Type\MyProviderType }

Take a look at the existing Providers to get a clue how they are working.