# bookit/2.6.0.5/src/Bookit/Gateways/StripeConnect/Provider.php

Bookit — Booking &amp; Appointment Calendar, version 2.6.0.5. 38 lines.

- Page: https://pluginprobe.com/plugins/bookit/2.6.0.5/code/src/Bookit/Gateways/StripeConnect/Provider.php
- Raw: https://pluginprobe.com/plugins/bookit/2.6.0.5/raw/src/Bookit/Gateways/StripeConnect/Provider.php
- Modified: 2026-09-14T17:08:02+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/bookit/2.6.0.5/code/src/Bookit/Gateways/StripeConnect/Provider.php#L10-L20`.

```php
<?php

namespace Bookit\Gateways\StripeConnect;

use Bookit\Contracts\Service_Provider;

/**
 * Class Provider
 *
 * @since   2.5.0
 *
 * @package Bookit\Gateways\StripeConnect
 */
class Provider extends Service_Provider {

	/**
	 * @inheritDoc
	 */
	public function register() {
		$this->container->singleton( REST::class );

		$this->register_hooks();
	}

	/**
	 * Registers the provider handling all the 1st level filters and actions for this Service Provider.
	 *
	 * @since 2.5.0
	 */
	protected function register_hooks() {
		$hooks = new Hooks( $this->container );
		$hooks->register();

		// Allow Hooks to be removed, by having the them registered to the container
		$this->container->singleton( Hooks::class, $hooks );
	}
}

```
