Provider::register()

Register the provider singletons.

Contents


Source

File: src/Tickets/Admin/Provider.php

	public function register() {

		$this->register_hooks();

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

		// Register singleton classes.
		$this->container->singleton( Upsell::class );

	}

Top ↑

Changelog

Changelog
Version Description
5.3.4 Introduced.