# siteleads/trunk/lib/Bootstrap.php

Lead Generation Contact Widget &amp; AI Chatbot: Chat Button, Phone Call, Telegram, Email – SiteLeads, version trunk. 42 lines.

- Page: https://pluginprobe.com/plugins/siteleads/trunk/code/lib/Bootstrap.php
- Raw: https://pluginprobe.com/plugins/siteleads/trunk/raw/lib/Bootstrap.php
- Modified: 2026-05-11T11:55:40+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/siteleads/trunk/code/lib/Bootstrap.php#L10-L20`.

```php
<?php

namespace SiteLeads;

use SiteLeads\Admin\Admin;
use SiteLeads\Core\Activation;
use SiteLeads\Core\AssetsRegistry;
use SiteLeads\Core\CLI;
use SiteLeads\Core\NotificationsManager;
use SiteLeads\Core\Singleton;
use SiteLeads\Features\Features;
use SiteLeads\Core\SvgFilter;



class Bootstrap {
	use Singleton;

	protected function __construct() {

		Activation::load();
		Admin::load();
		AssetsRegistry::load();
		SvgFilter::load();
		Features::load();
		NotificationsManager::load();
		CLI::load();

		// Load Pro version if exists.
		$skip_pro_loaded = defined( 'SITELEADS_SKIP_PRO_LOADED' ) && SITELEADS_SKIP_PRO_LOADED;
		if ( file_exists( SITELEADS_ROOT_DIR . 'pro/bootstrap.php' ) && ! $skip_pro_loaded ) {
			require_once SITELEADS_ROOT_DIR . 'pro/bootstrap.php';
		}
	}


	public static function load() {

		return self::getInstance();
	}
}

```
