%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tradesc/www/relax/wp-content/plugins/wp-rocket/inc/ThirdParty/Themes/
Upload File :
Create Path :
Current File : /home/tradesc/www/relax/wp-content/plugins/wp-rocket/inc/ThirdParty/Themes/SubscriberFactory.php

<?php
declare(strict_types=1);

namespace WP_Rocket\ThirdParty\Themes;

use WP_Rocket\ThirdParty\SubscriberFactoryInterface;

class SubscriberFactory implements SubscriberFactoryInterface {
	/**
	 * Get a theme subscriber data
	 *
	 * @return array
	 */
	public function get_subscriber() {
		$theme = ThemeResolver::get_current_theme();

		switch ( $theme ) {
			case 'avada':
				return [
					'class'     => Avada::class,
					'arguments' => [
						'options',
					],
				];
			case 'bridge':
				return [
					'class'     => Bridge::class,
					'arguments' => [
						'options',
					],
				];
			case 'divi':
				return [
					'class'     => Divi::class,
					'arguments' => [
						'options_api',
						'options',
						'delay_js_html',
						'rucss_used_css_controller',
					],
				];
			case 'flatsome':
				return [
					'class'     => Flatsome::class,
					'arguments' => [],
				];
			case 'jevelin':
				return [
					'class'     => Jevelin::class,
					'arguments' => [],
				];
			case 'minimalist_blogger':
				return [
					'class'     => MinimalistBlogger::class,
					'arguments' => [],
				];
			case 'polygon':
				return [
					'class'     => Polygon::class,
					'arguments' => [],
				];
			case 'uncode':
				return [
					'class'     => Uncode::class,
					'arguments' => [],
				];
			case 'xstore':
				return [
					'class'     => Xstore::class,
					'arguments' => [],
				];
			case 'themify':
				return [
					'class'     => Themify::class,
					'arguments' => [
						'options',
					],
				];
			case 'shoptimizer':
				return [
					'class'     => Shoptimizer::class,
					'arguments' => [],
				];
			default:
				return [];
		}
	}
}

Zerion Mini Shell 1.0