HEX
Server: Apache
System: Linux server11 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: web78 (5081)
PHP: 7.4.33
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,pcntl_unshare,
Upload Files
File: /var/www/clients/client1/web78/web/wp-content/plugins/better-wp-security/core/lib/tools/Tool.php
<?php

namespace iThemesSecurity\Lib\Tools;

use iThemesSecurity\Lib\Result;

interface Tool {
	/**
	 * Gets the Tool's slug.
	 *
	 * @return string
	 */
	public function get_slug(): string;

	/**
	 * Gets the Tool's module.
	 *
	 * @return string
	 */
	public function get_module(): string;

	/**
	 * Can this tool be run.
	 *
	 * @return bool
	 */
	public function is_available(): bool;

	/**
	 * Gets the condition definition in which this tool can be run.
	 *
	 * @return array
	 */
	public function get_condition(): array;

	/**
	 * Gets the Tool's title.
	 *
	 * @return string
	 */
	public function get_title(): string;

	/**
	 * Gets the Tool's description.
	 *
	 * @return string
	 */
	public function get_description(): string;

	/**
	 * Gets the Tool's search keywords.
	 *
	 * @return string[]
	 */
	public function get_keywords(): array;

	/**
	 * Gets the Tool's help content.
	 *
	 * @return string
	 */
	public function get_help(): string;

	/**
	 * Is this a toggleable tool.
	 *
	 * @return bool
	 */
	public function is_toggleable(): bool;

	/**
	 * If this is a scheduled tool, returns the schedule id.
	 *
	 * @return string
	 */
	public function get_schedule(): string;

	/**
	 * If this Tool accepts user input, returns the JSON Schema for the form.
	 *
	 * @return array
	 */
	public function get_form(): array;

	/**
	 * Runs the tool.
	 *
	 * @param array $form User provided form data, validated and sanitized according to the Schema.
	 *
	 * @return Result
	 */
	public function run( array $form = [] ): Result;
}