STRATO-apps/wordpress_03/app/wp-content/plugins/tutor-pro/tools/Tools.php

SHA-256: 4e59e585590dcebab78cf675331ebb1619b7df41d9984a7da8685a11dcef379a
<?php
/**
 * Main tool class
 *
 * @package Tutor\Tools
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 3.6.0
 */

namespace TutorPro\Tools;

use TUTOR\Container;
use TUTOR\Singleton;
use AllowDynamicProperties;


if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class Tools
 *
 * @since 3.6.0
 */
#[AllowDynamicProperties]
class Tools extends Singleton {

	/**
	 * Set tools property
	 *
	 * @since 3.6.0
	 */
	public function __construct() {
		$this->exporter              = Container::make( Exporter::class );
		$this->importer              = Container::make( Importer::class );
		$this->course_exporter       = Container::make( CourseExporter::class );
		$this->helper                = Container::make( Helper::class );
		$this->error_handler         = Container::make( ErrorHandler::class );
		$this->bundle_exporter       = Container::make( BundleExporter::class );
		$this->subscription_exporter = Container::make( SubscriptionExporter::class );
	}
}