# give/4.16.9/src/Exports/ServiceProvider.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 33 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Exports/ServiceProvider.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Exports/ServiceProvider.php
- Modified: 2022-06-29T23:03:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Exports/ServiceProvider.php#L10-L20`.

```php
<?php

namespace Give\Exports;

/**
 * @since 2.21.2
 */
class ServiceProvider implements \Give\ServiceProviders\ServiceProvider {

    /**
     * @inheritDoc
     */
    public function register()
    {
        //
    }

    /**
     * @inheritDoc
     */
    public function boot()
    {
        /** @note GiveWP Batch Exporting expects an un-namespaced class name. */
        add_action( 'give_batch_export_class_include', function() {
            class_alias(DonorsExport::class, 'Give_Donors_Export');
        });

        add_action( 'give_tools_tab_export_after_donation_history', static function() {
            include 'resources/views/export-donors-table-row.php';
        });
    }
}

```
