Service_Provider::register()

Binds and sets up implementations.

Contents


Source

File: src/Tribe/Events/Views/V2/Service_Provider.php

	public function register() {
		require_once tribe( 'tickets.main' )->plugin_path . 'src/functions/views/provider.php';

		add_action( 'tribe_events_bound_implementations', [ $this, 'register_hooks' ] );

		// Register the SP on the container
		$this->container->singleton( 'tickets.views.v2.provider', $this );
		$this->container->singleton( static::class, $this );
	}

Top ↑

Changelog

Changelog
Version Description
4.10.9 Introduced.