sarkfultion
⌂
›
wp-content
›
plugins
›
litespeed-cache
›
cli
sarkfultion
8 dreads
↑ redisq
📄
crawler.cls.php
5,994 B
sarkfultion
dreads
📄
database.cls.php
5,075 B
sarkfultion
dreads
📄
debug.cls.php
718 B
sarkfultion
dreads
📄
image.cls.php
3,772 B
sarkfultion
dreads
📄
online.cls.php
9,213 B
sarkfultion
dreads
📄
option.cls.php
10,348 B
sarkfultion
dreads
📄
presets.cls.php
1,870 B
sarkfultion
dreads
📄
purge.cls.php
7,234 B
sarkfultion
dreads
redisq: debug.cls.php
<?php /** * Debug API CLI for LiteSpeed integration. * * @package LiteSpeed\CLI */ namespace LiteSpeed\CLI; defined( 'WPINC' ) || exit(); use LiteSpeed\Debug2; use LiteSpeed\Report; use WP_CLI; /** * Debug API CLI */ class Debug { /** * Report instance. * * @var Report */ private $report; /** * Constructor for Debug CLI. */ public function __construct() { Debug2::debug( 'CLI_Debug init' ); $this->report = Report::cls(); } /** * Send report * * ## OPTIONS * * ## EXAMPLES * * # Send env report to LiteSpeed * $ wp litespeed-debug send */ public function send() { $num = $this->report->post_env(); WP_CLI::success( 'Report Number = ' . $num ); } }
sarkfultion