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

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

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/ServiceProviders/ServiceProvider.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/ServiceProviders/ServiceProvider.php
- Modified: 2021-11-23T23:55:18+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/ServiceProviders/ServiceProvider.php#L10-L20`.

```php
<?php

namespace Give\ServiceProviders;

/**
 * Interface ServiceProvider
 *
 * For use when defining Service Providers, see the method docs for when to use them
 *
 * @since 2.8.0
 */
interface ServiceProvider
{
    /**
     * Registers the Service Provider within the application. Use this to bind anything to the
     * Service Container. This prepares the service.
     *
     * @since 2.8.0
     *
     * @return void
     */
    public function register();

    /**
     * The bootstraps the service after all of the services have been registered. The importance of this
     * is that any cross service dependencies should be resolved by this point, so it should be safe to
     * bootstrap the service.
     *
     * @since 2.8.0
     *
     * @return void
     */
    public function boot();
}

```
