HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/eeggs.ru/wp-content/plugins/jetpack/class.jetpack-boost-modules.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName

/**
 * Jetpack Boost Active Modules
 *
 * Since the speed scores API will only be used in the Jetpack plugin if Jetpack Boost is uninstalled
 * all we need is to pass along this placeholder class for the modules that essentially tells the API
 * the user doesn't have any Boost modules active.
 *
 * @package automattic/jetpack
 */

/**
 * Jetpack Boost Modules
 */
class Jetpack_Boost_Modules {

	/**
	 * Holds the singleton instance of the class
	 *
	 * @var Jetpack_Boost_Modules
	 */
	private static $instance = false;

	/**
	 * Singleton
	 *
	 * @static
	 * @return Jetpack_Boost_Modules
	 */
	public static function init() {
		if ( ! self::$instance ) {
			self::$instance = new Jetpack_Boost_Modules();
		}

		return self::$instance;
	}
	/**
	 * Returns status of all active boost modules
	 *
	 * @return array - An empty array. The user will never have active modules when using the Boost Score API
	 */
	public function get_status() {
		return array();
	}

	/**
	 * Returns whether or not the user has active modules
	 *
	 * @return false - The user will never have active modules when using the Boost Score API
	 */
	public function have_enabled_modules() {
		return false;
	}
}