HEX
Server: Apache/2.4.62 (Debian)
System: Linux plxsite 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64
User: root (0)
PHP: 8.1.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-crontrol/src/Context/FeatureContext.php
<?php
/**
 * Feature flag context for WP Crontrol.
 *
 * @package wp-crontrol
 */

namespace Crontrol\Context;

/**
 * Interface for checking feature flags.
 *
 * Provides methods to check if various cron event features are enabled.
 */
interface FeatureContext {
	/**
	 * Check whether PHP cron events are enabled globally on the site.
	 */
	public function php_crons_enabled(): bool;

	/**
	 * Check whether URL cron events are enabled globally on the site.
	 */
	public function url_crons_enabled(): bool;
}