Integration_Abstract::register()

Binds and sets up implementations.

Contents


Source

File: src/Events/Integrations/Integration_Abstract.php

	public function register() {
		// Registers this provider as a singleton for ease of use.
		$this->container->singleton( self::class, self::class );

		// Prevents any loading in case we shouldn't load.
		if ( ! $this->should_load() ) {
			return;
		}

		$this->load();
	}

Top ↑

Changelog

Changelog
Version Description
6.0.4 Introduced.