PHP 8.2.31
Preview: UserCLIContextOption.php Size: 1.06 KB
/proc/thread-self/root/usr/local/lsws/add-ons/webcachemgr/src/Context/UserCLIContextOption.php

<?php

/* * ******************************************
 * LiteSpeed Web Server Cache Manager
 * @Author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
 * @Copyright: (c) 2018-2019
 * ******************************************* */

namespace Lsc\Wp\Context;

use \Lsc\Wp\Context\ContextOption;
use \Lsc\Wp\Logger;

class UserCLIContextOption extends ContextOption
{

    public function __construct( $invokerName )
    {
        $invokerType = parent::FROM_CLI;
        $isRoot = parent::IS_NOT_ROOT;

        /**
         * Do not change log levels as it will break UserCommand output format.
         */
        $logFileLvl = Logger::L_NONE;
        $logEchoLvl = Logger::L_NONE;

        $bufferedWrite = false;
        $bufferedEcho = false;
        parent::__construct($invokerName, $invokerType, $isRoot, $logFileLvl,
                $logEchoLvl, $bufferedWrite, $bufferedEcho);

        $this->expectedPermissions = self::IS_NOT_ROOT;
        $this->scanDepth = 2;
        $this->batchTimeout = 0;
        $this->batchSize = 0;
        $this->logFile = '';
    }

}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
10.51 KB lrw-rw-r-- 2026-05-26 17:51:34
Edit Download
5.52 KB lrw-rw-r-- 2026-05-26 17:51:34
Edit Download
923 B lrw-rw-r-- 2026-05-26 17:51:34
Edit Download
1.14 KB lrw-rw-r-- 2026-05-26 17:51:34
Edit Download
1.06 KB lrw-rw-r-- 2026-05-26 17:51:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).